Skip to content

Commit da7c0e7

Browse files
Exclude packages/ from ruby_wasm gem package
1 parent 4369231 commit da7c0e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ruby_wasm.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
2121
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2222
spec.files = Dir.chdir(__dir__) do
2323
`git ls-files -z`.split("\x0").reject do |f|
24-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
24+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) ||
25+
f.match(%r{\Apackages/})
2526
end
2627
end
2728
spec.bindir = "exe"

0 commit comments

Comments
 (0)