Permalink
Browse files

Verify ability of gem to be required before releasing

  • Loading branch information...
1 parent 75c5912 commit 69b5fdacd3651f17e49cf06e66e8ad643a177ad0 @topfunky committed Mar 13, 2008
Showing with 3 additions and 1 deletion.
  1. +3 −1 Rakefile
View
@@ -15,14 +15,16 @@ Hoe.new('Gruff', Gruff::VERSION) do |p|
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"

0 comments on commit 69b5fda

Please sign in to comment.