public
Description: a tool to organize and maintain an internal gem distribution server
Clone URL: git://github.com/copiousfreetime/stickler.git
added dist:copious
Thu Oct 09 23:03:52 -0700 2008
commit  a3f2fb6359f781b8df4541bc32c9f7c06ec296a6
tree    e382f3df85563f9e5be2091df55bf43dd6ead753
parent  c17151933bc4551635c84b22c8731d03cca86786
...
34
35
36
 
 
 
 
 
 
 
37
38
...
34
35
36
37
38
39
40
41
42
43
44
45
0
@@ -34,5 +34,12 @@ if pkg_config = Configuration.for_if_exist?("packaging") then
0
     desc "reinstall gem"
0
     task :reinstall => [:uninstall, :repackage, :install]
0
 
0
+ desc "distribute copiously"
0
+ task :copious => [:package] do
0
+ Rake::SshFilePublisher.new('jeremy@copiousfreetime.org',
0
+ '/var/www/vhosts/www.copiousfreetime.org/htdocs/gems/gems',
0
+ 'pkg',"#{Stickler::GEM_SPEC.full_name}.gem").upload
0
+ sh "ssh jeremy@copiousfreetime.org rake -f /var/www/vhosts/www.copiousfreetime.org/htdocs/gems/Rakefile"
0
+ end
0
  end
0
 end

Comments

    No one has commented yet.