Skip to content

Commit

Permalink
Include tests in gem distribution
Browse files Browse the repository at this point in the history
If someone needs to debug Gouda it helps that they won't have to look for the exact revision on GH to get the tests. And there is no sizable test corpus needed for Gouda (tests are usually excluded because of the large-ish files which are not necessary). Including tests lowers the barrier for new contributors.
  • Loading branch information
julik committed Jun 13, 2024
1 parent d71b39a commit 768a5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gouda.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.metadata["changelog_uri"] = "https://github.com/cheddar-me/gouda/CHANGELOG.md"

spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
`git ls-files -z`.split("\x0")
end

spec.add_dependency "activerecord", "~> 7"
Expand Down

0 comments on commit 768a5c0

Please sign in to comment.