Rakefile in cliutils-2.2.0 vs Rakefile in cliutils-2.2.1
- old
+ new
@@ -11,17 +11,10 @@
require 'yard'
desc 'Create YARD documentation'
YARD::Rake::YardocTask.new do |t|
end
-require 'rake/testtask'
-desc 'Run unit tests'
-Rake::TestTask.new do |t|
- t.libs << "test"
- t.test_files = FileList['test/*_test.rb', 'test/**/*_test.rb']
-end
-
require 'rspec/core/rake_task'
desc "Run the specs."
RSpec::Core::RakeTask.new do |t|
t.pattern = "spec/**/*_spec.rb"
t.verbose = false
@@ -46,6 +39,6 @@
FileUtils.mkdir_p "pkg"
sh "gem build cliutils.gemspec"
FileUtils.mv("./cliutils-#{version}.gem", "pkg")
end
-task :default => [:spec] #:yard
\ No newline at end of file
+task :default => [:spec, :yard]