Skip to content

Exclude dialyzer PLT cache from Hex package - #3

Merged
mattijevi merged 1 commit into
mainfrom
exclude-plts-from-package
Jul 11, 2026
Merged

Exclude dialyzer PLT cache from Hex package#3
mattijevi merged 1 commit into
mainfrom
exclude-plts-from-package

Conversation

@mattijevi

Copy link
Copy Markdown
Owner

Summary

  • mix hex.publish --dry-run showed priv/plts/* (7.2MB of PLT binaries) getting bundled into the tarball
  • Whitelists package files to lib, .formatter.exs, mix.exs, README.md, LICENSE

Test plan

  • mix test
  • mix format --check-formatted
  • mix credo --strict

priv/plts/* was being bundled by default, adding ~7MB of build
artifacts to every published tarball.
@mattijevi
mattijevi merged commit 417dd8f into main Jul 11, 2026
3 checks passed
@mattijevi
mattijevi deleted the exclude-plts-from-package branch July 11, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant