blob: dd4b190b3ea9ebdb5f08b0c4ea81216aa8f5937b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/listen.gemspec b/listen.gemspec
index 4e110b0..cda047b 100644
--- a/listen.gemspec
+++ b/listen.gemspec
@@ -14,9 +14,8 @@ Gem::Specification.new do |s|
s.description = 'The Listen gem listens to file modifications and '\
'notifies you about the changes. Works everywhere!'
- s.files = `git ls-files -z`.split("\x0").select do |f|
- %r{^(?:bin|lib)\/} =~ f
- end + %w(CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md)
+ s.files = `find bin lib -type f |sort`.split("\n") +
+ %w(CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md)
s.test_files = []
s.executable = 'listen'
|