Permalink
Browse files

Fixed the gemspec for Windows.

  • Loading branch information...
1 parent 8bf83fb commit 4127bbf16abf8c2a52af75e2b2a5d527370ce83f @postmodern postmodern committed Jul 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 furnace-swf.gemspec
View
@@ -13,9 +13,9 @@ Gem::Specification.new do |s|
%q{Flash SWF files. It can be used with furnace-avm2 in } <<
%q{order to achieve impressive results.}
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.files = `git ls-files`.split($/)
+ s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ["lib"]
s.add_runtime_dependency "bindata"

0 comments on commit 4127bbf

Please sign in to comment.