Rakefile in gooddata-0.6.0.pre9 vs Rakefile in gooddata-0.6.0.pre10
- old
+ new
@@ -1,8 +1,25 @@
-require "bundler/gem_tasks"
+require 'rubygems'
+
+require 'bundler/setup'
+require 'bundler/gem_tasks'
+
require 'rake/testtask'
+require 'rspec/core/rake_task'
+require 'yard'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :usage do
+ puts "No rake task specified, use rake -T to list them"
+end
+
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
+
+YARD::Rake::YardocTask.new
+
+task :default => [:usage]
\ No newline at end of file