Skip to content

Commit 152a291

Browse files
authored
Exclude BSP files from release (#42)
This helps reducing the size of the gem when installed. Inspired by this comment from @trevorturk: rhannequin/astronoby#180 (comment)
1 parent 4b8015a commit 152a291

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ephem.gemspec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ Gem::Specification.new do |spec|
2525
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
2626
ls.readlines("\x0", chomp: true).reject do |f|
2727
(f == gemspec) || f.start_with?(
28-
*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile]
28+
*%w[
29+
bin/
30+
spec/
31+
lib/ephem/tasks/
32+
.git
33+
.github
34+
Gemfile
35+
]
2936
)
3037
end
3138
end

0 commit comments

Comments
 (0)