Rakefile in gruff-0.3.1 vs Rakefile in gruff-0.3.3
- old
+ new
@@ -13,16 +13,18 @@
p.clean_globs = ['test/output/*.png']
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.remote_rdoc_dir = '' # Release to root
end
-desc "Simple test on packaged files to make sure they are all there"
+desc "Simple require on packaged files to make sure they are all there"
task :verify => :package do
# An error message will be displayed if files are missing
if system %(ruby -e "require 'pkg/gruff-#{Gruff::VERSION}/lib/gruff'")
puts "\nThe library files are present"
end
end
+
+task :release => :verify
namespace :test do
desc "Run mini tests"
task :mini => :clean do