Browse files

Fix install.rb and lists of gems files.

  • Loading branch information...
1 parent fef1166 commit 700c1d420dc8760f272bb56a326fca46aa6d9824 @amw amw committed with schof Oct 25, 2010
View
4 api/spree_api.gemspec
@@ -13,9 +13,9 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_api'
- s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*']
+ s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*']
s.require_path = 'lib'
s.requirements << 'none'
s.add_dependency('spree_core', version)
-end
+end
View
2 auth/spree_auth.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_auth'
- s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*']
+ s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*']
s.require_path = 'lib'
s.requirements << 'none'
View
2 core/spree_core.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_core'
- s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*']
+ s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*', 'public/**/*']
s.require_path = 'lib'
s.requirements << 'none'
View
4 dash/spree_dash.gemspec
@@ -13,9 +13,9 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_dash'
- s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*']
+ s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*', 'public/**/*']
s.require_path = 'lib'
s.requirements << 'none'
s.add_dependency('spree_core', version)
-end
+end
View
4 install.rb
@@ -1,11 +1,11 @@
version = ARGV.pop
-%w( core api auth dash promotions sample ).each do |framework|
+%w( core api auth dash promo sample ).each do |framework|
puts "Installing #{framework}..."
`cd #{framework} && gem build spree_#{framework}.gemspec && gem install spree_#{framework}-#{version}.gem --no-ri --no-rdoc && rm spree_#{framework}-#{version}.gem`
end
puts "Installing Spree..."
`gem build spree.gemspec`
`gem install spree-#{version}.gem --no-ri --no-rdoc `
-`rm spree-#{version}.gem`
+`rm spree-#{version}.gem`
View
2 promo/spree_promo.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_promotions'
- s.files = Dir['CHANGELOG', 'README', 'MIT-LICENSE', 'lib/**/*']
+ s.files = Dir['CHANGELOG', 'README', 'MIT-LICENSE', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*', 'public/**/*']
s.require_path = 'lib'
s.requirements << 'none'
View
4 sample/spree_sample.gemspec
@@ -13,11 +13,11 @@ Gem::Specification.new do |s|
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_sample'
- s.files = Dir['LICENSE', 'README.md', 'lib/**/*']
+ s.files = Dir['LICENSE', 'README.md', 'lib/**/*', 'db/**/*']
s.require_path = 'lib'
s.requirements << 'none'
s.has_rdoc = true
s.add_dependency('spree_core', version)
-end
+end

0 comments on commit 700c1d4

Please sign in to comment.