Skip to content

Commit

Permalink
Make sure the backend gem gets built
Browse files Browse the repository at this point in the history
  • Loading branch information
schof committed May 8, 2013
1 parent fa3a778 commit 8fb3200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
namespace :gem do
desc "run rake gem for all gems"
task :build do
%w(core api dash frontend sample cmd).each do |gem_name|
%w(core api backend dash frontend sample cmd).each do |gem_name|
puts "########################### #{gem_name} #########################"
puts "Deleting #{gem_name}/pkg"
FileUtils.rm_rf("#{gem_name}/pkg")
Expand All @@ -63,7 +63,7 @@ namespace :gem do
task :install do
version = File.read(File.expand_path("../SPREE_VERSION", __FILE__)).strip

%w(core api dash frontend sample cmd).each do |gem_name|
%w(core api backend dash frontend sample cmd).each do |gem_name|
puts "########################### #{gem_name} #########################"
puts "Deleting #{gem_name}/pkg"
FileUtils.rm_rf("#{gem_name}/pkg")
Expand All @@ -82,7 +82,7 @@ namespace :gem do
task :release do
version = File.read(File.expand_path("../SPREE_VERSION", __FILE__)).strip

%w(core api dash frontend sample cmd).each do |gem_name|
%w(core api backend dash frontend sample cmd).each do |gem_name|
puts "########################### #{gem_name} #########################"
cmd = "cd #{gem_name}/pkg && gem push spree_#{gem_name}-#{version}.gem"; puts cmd; system cmd
end
Expand Down

0 comments on commit 8fb3200

Please sign in to comment.