Sha256: 4fd1785350abb5f9db030758ea085eb68ab268700211b0367680dd95be4bd947
Contents?: true
Size: 441 Bytes
Versions: 15
Compression:
Stored size: 441 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks task :default => :spec def bundle_exec(command) sh %Q{bundle update && bundle exec #{command}} end desc "Run all specs" task "spec" do bundle_exec("rspec spec") end task "doc" do bundle_exec("rspec --format d spec") end namespace "doc" do desc "Generate README and preview in browser" task "readme" do sh "rdoc -c utf8 README.rdoc && open doc/README_rdoc.html" end end
Version data entries
15 entries across 15 versions & 1 rubygems