Skip to content

Commit 77b80af

Browse files
committed
include public dir in built gem
1 parent 890d39d commit 77b80af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jekyll-admin.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
2323
end
2424

25-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.|spec|src|tools|script|docs)/}) }
25+
spec.files = Dir.glob("lib/**/*").concat(%w(LICENSE README.md))
2626
spec.bindir = "exe"
2727
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2828
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)