Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitattributes file to exclude files not needed in composer installs. #97

Open
peterwilsoncc opened this issue May 21, 2020 · 1 comment

Comments

@peterwilsoncc
Copy link
Contributor

The following files can be excluded from composer installs:

  • phpunit config
  • phpcs config
  • travis config
  • docs directory
  • tests directory

It sure would be dandy if these were listed in a .gitattributes file with the export-ignore flag to avoid putting test code on public servers.

Note: this applies to other HM projects too but I'm not going to create dozens of issues because that would be more than a little passive aggressive.

@rmccue
Copy link
Member

rmccue commented May 21, 2020

Good idea 👍 We could potentially use archive.ignore in composer.json instead, but I think the gitattributes probably makes more sense.

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

No branches or pull requests

2 participants