Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (14 sloc) 0.502 kb
ce00172 Samuel Marks Moved auth to before api, modified to system neutral "FileUtils.remove" ...
SamuelMarks authored
1 require 'fileutils'
2
0761cd5 Sean Schofield Fixing up Gemspecs, etc. in preparation for release of beta gem. New in...
schof authored
3 version = ARGV.pop
4
ce00172 Samuel Marks Moved auth to before api, modified to system neutral "FileUtils.remove" ...
SamuelMarks authored
5 %w( core auth api dash promo sample ).each do |framework|
0761cd5 Sean Schofield Fixing up Gemspecs, etc. in preparation for release of beta gem. New in...
schof authored
6 puts "Installing #{framework}..."
ce00172 Samuel Marks Moved auth to before api, modified to system neutral "FileUtils.remove" ...
SamuelMarks authored
7
8 Dir.chdir(framework) do
9 `gem build spree_#{framework}.gemspec`
10 `gem install spree_#{framework}-#{version}.gem --no-ri --no-rdoc`
11 FileUtils.remove "spree_#{framework}-#{version}.gem"
12 end
13
0761cd5 Sean Schofield Fixing up Gemspecs, etc. in preparation for release of beta gem. New in...
schof authored
14 end
15
16 puts "Installing Spree..."
ce00172 Samuel Marks Moved auth to before api, modified to system neutral "FileUtils.remove" ...
SamuelMarks authored
17 `gem build spree.gemspec`
18 `gem install spree-#{version}.gem --no-ri --no-rdoc `
19
20 FileUtils.remove "spree-#{version}.gem"
Something went wrong with that request. Please try again.