Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove auth from install script and Rake tasks

  • Loading branch information...
commit 0795cdaf647fd7d2be829a51cf693338c3609e48 1 parent 9d960af
@radar radar authored
Showing with 6 additions and 6 deletions.
  1. +5 −5 Rakefile
  2. +1 −1  install.rb
View
10 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
View
2  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

0 comments on commit 0795cda

Please sign in to comment.
Something went wrong with that request. Please try again.