Rakefile in iba-0.0.2 vs Rakefile in iba-0.0.3
- old
+ new
@@ -1,15 +1,30 @@
-load 'tasks/setup.rb'
+require 'rake/clean'
+require 'bundler/gem_tasks'
+require 'rake/testtask'
+
+namespace :test do
+
+ Rake::TestTask.new(:run) do |t|
+ t.libs = ['lib']
+ t.test_files = FileList['test/**/*_test.rb']
+ t.ruby_opts += ['-w']
+ end
+
+end
+
+desc 'Alias to test:run'
+task :test => 'test:run'
task :default => 'test:run'