1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Do not add the tests to the produced packages

This commit is contained in:
Petko Bordjukov 2015-07-05 17:11:42 +03:00
parent 8715eec947
commit 3836e837c1

View file

@ -19,7 +19,7 @@ Gem::Specification.new do |s|
submodules = `git submodule --quiet foreach 'echo $path'`.split("\n").map(&:chomp)
submodules.each do |submodule|
s.files += Dir.chdir(submodule) do
`git ls-files`.split("\n").map {|f| "#{submodule}/#{f}"}
`git ls-files`.split("\n").reject {|f| f =~ /^test/}.map {|f| "#{submodule}/#{f}"}
end
end