Rakefile in framingham-0.1.20130710222706 vs Rakefile in framingham-0.1.20130711193533
- old
+ new
@@ -1,16 +1,32 @@
require "bundler/gem_tasks"
+require "rake/testtask"
+
+task :default => [:build, :test]
+
+task :build do
+ "bundle install framingham"
+end
+
+task :deploy do
+ Rake::Task[:build].execute Rake::Task[:test].execute and sh "gem push framingham.gem"
+end
+
+Rake::TestTask.new { |_|
+ _.test_files = FileList['framingham/*_tests.rb']
+ _.verbose = true
+}