Permalink
Browse files

Add files directive to gemspec

  • Loading branch information...
1 parent e848a96 commit 3b85d3f009e332d29a517af24f2c4896b8e65ce6 @Burgestrand Burgestrand committed Oct 5, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 serenade.gemspec
View
@@ -24,4 +24,7 @@ TEXT
gem.add_development_dependency "rspec", "~> 2.0"
gem.add_development_dependency "sprockets", "~> 2.0"
gem.add_development_dependency "rails", "~> 3.1"
+
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
end

0 comments on commit 3b85d3f

Please sign in to comment.