Skip to content

Commit d410bdd

Browse files
author
Aiden Scandella
committed
Fixup gemspec
There's important stuff in bin and config that should be packaged with the gem. Additionally, remove dependency on `git`, since I have no untracked files in these directories. Change-Id: I163725c7ce4057fd874e6d57c23be53ab1eab425 Reviewed-on: https://gerrit.causes.com/22750 Tested-by: Aiden Scandella <aiden@causes.com> Reviewed-by: Joe Lencioni <joe.lencioni@causes.com>
1 parent cc145be commit d410bdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

overcommit.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@ Gem::Specification.new do |s|
1717

1818
s.executables = ['overcommit']
1919

20-
s.files = `git ls-files -- lib`.split("\n")
20+
s.files = Dir['lib/**/*.rb'] +
21+
Dir['bin/**/*'] +
22+
Dir['config/*.yml']
2123
end

0 commit comments

Comments
 (0)