Permalink
Browse files

add install task

  • Loading branch information...
1 parent 430f467 commit 5edc3036e7577058cde86b7ff0b70db16586d631 @calavera calavera committed May 19, 2011
Showing with 11 additions and 0 deletions.
  1. +1 −0 Rakefile
  2. +5 −0 rakelib/trinidad.rake
  3. +5 −0 rakelib/trinidad_jars.rake
View
@@ -35,6 +35,7 @@ end
{
:build => 'Build all Trinidad gems',
+ :install => 'Install all Trinidad gems',
:release => 'Release all Trinidad gems'
}.each do |t, d|
desc d
View
@@ -19,6 +19,11 @@ namespace :trinidad do
build(GEMSPEC, trinidad_gem_file)
end
+ desc "Install trinidad gem"
+ task :install => :build do
+ sh "gem install pkg/#{trinidad_gem_file}"
+ end
+
desc "Update trinidad gemspec"
task :gemspec do
# read spec file and split out manifest section
@@ -19,6 +19,11 @@ namespace :trinidad_jars do
build(JARS_GEMSPEC, trinidad_jars_gem_file)
end
+ desc "Install trinidad_jars gem"
+ task :install => :build do
+ sh "gem install pkg/#{trinidad_jars_gem_file}"
+ end
+
desc "Update trinidad_jars gemspec"
task :gemspec do
# read spec file and split out manifest section

0 comments on commit 5edc303

Please sign in to comment.