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

Avoid to package development files #11

Merged
merged 1 commit into from
Dec 28, 2021
Merged

Avoid to package development files #11

merged 1 commit into from
Dec 28, 2021

Conversation

wandersonwhcr
Copy link
Contributor

@wandersonwhcr wandersonwhcr commented Dec 11, 2021

This PR adds a .gitattributes file to ignore development files during Composer packaging.

Currently this package has 104KB and using this file it will have 44KB (reduction of ~58%).

Only these files are needed on production:

$ find . -type f | sort -n
./composer.json
./README.md
./src/Adapters/AdapterInterface.php
./src/Adapters/RedisAdapter.php
./src/Adapters/SwooleTableAdapter.php
./src/CircuitBreakerException.php
./src/CircuitBreaker.php
./src/GuzzleMiddleware.php

@leocarmo leocarmo merged commit 0ade695 into leocarmo:master Dec 28, 2021
@wandersonwhcr wandersonwhcr deleted the feature/package branch December 28, 2021 18:02
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.

None yet

2 participants