Permalink
Browse files

use git ls-files instead of globbing ourselves

  • Loading branch information...
1 parent fad6cf9 commit 164ff673322889098e52df01f6d490f9e44570cf Lee Jarvis committed Apr 29, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 Rakefile
View
3 Rakefile
@@ -26,8 +26,7 @@ def apply_spec_defaults(s)
s.homepage = "http://banisterfiend.wordpress.com"
s.has_rdoc = 'yard'
s.executables = ["pry"]
- s.files = Dir["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c", "lib/**/*", "examples/**/*.rb",
- "test/*.rb", "test/testrc", "CHANGELOG", "LICENSE", "README.markdown", "Rakefile", ".gemtest"]
+ s.files = `git ls-files`.split("\n")
end
task :test do

0 comments on commit 164ff67

Please sign in to comment.