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 a .gitattributes file to trim down the generated archive #66

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

stof
Copy link
Contributor

@stof stof commented Feb 9, 2024

By default, composer downloads the zip archive generated by GitHub (using git archive). Excluding all the files that are not needed for using the library makes the archive smaller (and also the installed size of the package).

@scrutinizer-notifier
Copy link

The inspection completed: ****

@heiglandreas heiglandreas merged commit 13a5862 into heiglandreas:main Feb 9, 2024
@heiglandreas
Copy link
Owner

Thanks! Good thinking 😁

@stof stof deleted the patch-1 branch February 12, 2024 08:23
@stof
Copy link
Contributor Author

stof commented Feb 12, 2024

@heiglandreas it would be great to tag a new release to actually benefit from this (as projects generally don't use the dev version).

Btw, it might make sense to fix the CI setup.

@heiglandreas
Copy link
Owner

Currently the broken CI setup is the limiting factor. I didn't get to fixing that this weekend but do have some spare time today set aside for that.

@heiglandreas
Copy link
Owner

Release done

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.

3 participants