1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

use git ls-files instead of globbing ourselves

This commit is contained in:
Lee Jarvis 2011-04-29 16:07:57 +01:00
parent fad6cf9977
commit 164ff67332

View file

@ -26,8 +26,7 @@ def apply_spec_defaults(s)
s.homepage = "http://banisterfiend.wordpress.com" s.homepage = "http://banisterfiend.wordpress.com"
s.has_rdoc = 'yard' s.has_rdoc = 'yard'
s.executables = ["pry"] s.executables = ["pry"]
s.files = Dir["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c", "lib/**/*", "examples/**/*.rb", s.files = `git ls-files`.split("\n")
"test/*.rb", "test/testrc", "CHANGELOG", "LICENSE", "README.markdown", "Rakefile", ".gemtest"]
end end
task :test do task :test do