Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use Dir.glob for file list in the gemspec

  • Loading branch information...
commit 72530ee171ce08d0afd55b6a58df33a95a3ceb44 1 parent 12918c6
@sprsquish authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/scala/com/twitter/sbt/ThriftGemerator.scala
View
4 src/main/scala/com/twitter/sbt/ThriftGemerator.scala
@@ -151,8 +151,8 @@ Gem::Specification.new do |s|
s.summary = %q{@DESCRIPTION@}
s.description = s.summary
- s.files = `ls lib/**/*.rb`.split("\n") + `ls lib/*.rb`.split("\n")
- s.test_files = `ls test/**/*.rb`.split("\n") + `ls test/*.rb`.split("\n")
+ s.files = Dir["lib/**/*.rb"].to_a
+ s.test_files = Dir["test/**/*.rb"].to_a + Dir["spec/**/*.rb"].to_a
s.require_paths = ["lib"]
Please sign in to comment.
Something went wrong with that request. Please try again.