public
Description: New development on the Ruby bindings for the GNU Scientific Library
Clone URL: git://github.com/codahale/ruby-gsl.git
Actually add the business about packaging the gem. And installing it.
codahale (author)
Mon Feb 25 17:03:22 -0800 2008
commit  aa1fdf5ce810db84de0bc18d4df2dddfd7f87eed
tree    14f02fd2ae2dcdc56ad9331dbb402c7c671c2f7e
parent  694eea900d0d156e3262e6be5909e21f6d514881
...
32
33
34
35
 
36
 
 
 
 
 
 
 
 
 
 
37
38
...
32
33
34
 
35
36
37
38
39
40
41
42
43
44
45
46
47
48
0
@@ -32,6 +32,16 @@ spec = Gem::Specification.new do |s|
0
   s.extensions = FileList["ext/extconf.rb"].to_a
0
   
0
   s.autorequire = 'gsl'
0
- s.author = ["Coda Hale"]
0
+ s.authors = ["Coda Hale"]
0
   s.email = "coda.hale@gmail.com"
0
+end
0
+
0
+Rake::GemPackageTask.new(spec) do |pkg|
0
+ # pkg.need_zip = true
0
+ # pkg.need_tar = true
0
+end
0
+
0
+desc 'Install the package as a gem.'
0
+task :install => [:clean, :package] do
0
+ sh "sudo gem install pkg/*.gem --no-rdoc --no-ri"
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.