Sha256: ae90291ff91b8b97064e7c1888f48041056286012a82924e58d22b7f5e17fa96
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" task default: [:build, :test] task :deploy do Rake::Task[:build].execute Rake::Task[:test].execute sh "gem push framingham.gem" end task :upgrade do Rake::Task[:build].execute Rake::Task[:test].execute begin sh "gem uninstall framingham && gem install ./framingham.gem" rescue => exception abort "\033[31merror: did you not sudo? \033[0m" end end Rake::TestTask.new { |_| _.test_files = FileList['framingham/tests/*.rb'] _.verbose = true }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
framingham-0.1.20130719170918 | Rakefile |