Rakefile 375 B

123456789101112131415161718
  1. require "bundler/setup"
  2. task :default => :test
  3. desc "Publish \"marketing\" docs"
  4. task :publish do
  5. sh("git rebase master gh-pages")
  6. sh("git checkout master")
  7. sh("git push origin master")
  8. sh("git push origin gh-pages")
  9. sh("git push --tags")
  10. sh("npm publish")
  11. end
  12. desc "Open your default browser with the test page"
  13. task :test do
  14. sh("open test/index.html")
  15. end