From 0795cdaf647fd7d2be829a51cf693338c3609e48 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 9 May 2012 14:40:20 +1000 Subject: [PATCH] Remove auth from install script and Rake tasks --- Rakefile | 10 +++++----- install.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index 50e6286be43..f33f6ffe554 100644 --- a/Rakefile +++ b/Rakefile @@ -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 @@ -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") @@ -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") @@ -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") @@ -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 diff --git a/install.rb b/install.rb index 5ba4953e204..72c64ef5364 100644 --- a/install.rb +++ b/install.rb @@ -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