Skip to content

Commit

Permalink
Include less when building modules
Browse files Browse the repository at this point in the history
Don't ship the `spec` directory, `Gemfile`, or `Rakefile`.

This should make the average module a fair bit smaller.
PDK already does this by default.
https://github.com/puppetlabs/pdk-templates/blob/172738acbf55e65afb1eb8541deb8bb242ca877b/config_defaults.yml#L57
  • Loading branch information
alexjfisher committed Nov 10, 2020
1 parent fcda592 commit c294770
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions moduleroot/.pmtignore.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
docs/
pkg/
Gemfile
Gemfile.lock
Gemfile.local
vendor/
.vendor/
spec/fixtures/manifests/
spec/fixtures/modules/
spec/
Rakefile
.vagrant/
.bundle/
.ruby-version
Expand Down

0 comments on commit c294770

Please sign in to comment.