Skip to content

Commit

Permalink
Remove auth from install script and Rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 20, 2012
1 parent 9d960af commit 0795cda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end

desc "Generates a dummy app for testing for every Spree engine"
task :test_app do
%w(api auth core dash promo).each do |engine|
%w(api core dash promo).each do |engine|
ENV['LIB_NAME'] = File.join('spree', engine)
ENV['DUMMY_PATH'] = File.expand_path("../#{engine}/spec/dummy", __FILE__)
Rake::Task['common:test_app'].execute
Expand All @@ -34,7 +34,7 @@ task :clean do
puts "Deleting pkg directory.."
FileUtils.rm_rf("pkg")

%w(api auth cmd core dash promo).each do |gem_name|
%w(api cmd core dash promo).each do |gem_name|
puts "Cleaning #{gem_name}:"
puts " Deleting #{gem_name}/Gemfile"
FileUtils.rm_f("#{gem_name}/Gemfile")
Expand All @@ -50,7 +50,7 @@ end
namespace :gem do
desc "run rake gem for all gems"
task :build do
%w(core auth api dash promo sample cmd).each do |gem_name|
%w(core api dash promo sample cmd).each do |gem_name|
puts "########################### #{gem_name} #########################"
puts "Deleting #{gem_name}/pkg"
FileUtils.rm_rf("#{gem_name}/pkg")
Expand All @@ -67,7 +67,7 @@ namespace :gem do
task :install do
version = File.read(File.expand_path("../SPREE_VERSION", __FILE__)).strip

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

%w(core auth api dash promo sample cmd).each do |gem_name|
%w(core api dash promo 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
2 changes: 1 addition & 1 deletion install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version = ARGV.pop

%w( core auth api dash promo sample ).each do |framework|
%w( core api dash promo sample ).each do |framework|
puts "Installing #{framework}..."

Dir.chdir(framework) do
Expand Down

0 comments on commit 0795cda

Please sign in to comment.