Rakefile 355 B

1234567891011121314151617
  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. end
  11. desc "Open your default browser with the test page"
  12. task :test do
  13. sh("open test/index.html")
  14. end