public
Rubygem
Description: Gruff graphing library for Ruby
Homepage: http://gruff.rubyforge.org
Clone URL: git://github.com/topfunky/gruff.git
Search Repo:
Verify ability of gem to be required before releasing
topfunky (author)
Thu Mar 13 09:12:27 -0700 2008
commit  69b5fdacd3651f17e49cf06e66e8ad643a177ad0
tree    52e77c7e6509ae876d09a07e061133a29cca101d
parent  75c59127f7ed8b7d20b8cc8c930347e7ecfe092a
...
15
16
17
18
 
19
20
21
22
23
24
 
 
25
26
27
...
15
16
17
 
18
19
20
21
22
23
24
25
26
27
28
29
0
@@ -15,13 +15,15 @@
0
   p.remote_rdoc_dir = '' # Release to root
0
 end
0
 
0
-desc "Simple test on packaged files to make sure they are all there"
0
+desc "Simple require on packaged files to make sure they are all there"
0
 task :verify => :package do
0
   # An error message will be displayed if files are missing
0
   if system %(ruby -e "require 'pkg/gruff-#{Gruff::VERSION}/lib/gruff'")
0
     puts "\nThe library files are present"
0
   end
0
 end
0
+
0
+task :release => :verify
0
 
0
 namespace :test do
0
 

Comments

    No one has commented yet.