Rakefile in fanforce-api-0.31.0 vs Rakefile in fanforce-api-1.0.0

- old
+ new

@@ -1,16 +1,22 @@ require 'bundler/gem_tasks' require 'rake/testtask' require 'fileutils' include FileUtils -# Default Rake task is compile +task :run_test do + Rake::Task['test'].execute + puts '---------------------------------------------------------------------' + puts 'TESTS PASSED... READY TO BUILD...' + puts '---------------------------------------------------------------------' +end +task :build => :run_test task :default => :build ######################################################################## Rake::TestTask.new do |t| - t.libs.push "lib" - t.libs.push "test" + t.libs.push 'lib' + t.libs.push 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end