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 #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented May 2, 2024

.gitattributes can excludes files that don't need to be distributed with Composer.

Files to be archived can be checked using git archive HEAD | tar -t

$ git archive main | tar -t
.github/
.github/dependabot.yml
.github/workflows/
.github/workflows/ci.yml
.gitignore
.php-cs-fixer.dist.php
CONTRIBUTE.md
Dockerfile
LICENSE.md
README.md
composer.json
composer.lock
composerw
phpunit.xml
psalm-baseline.xml
psalm.xml
rector-test/
rector-test/ExampleTest.php
rector.php
src/
src/ConsecutiveArguments.php
src/ConsecutiveArgumentsRectorRule.php
tests/
tests/ConsecutiveArgumentsTest.php
tests/Stub/
tests/Stub/MockableConsecutiveArgumentInterface.php

$ git archive add/gitattributes | tar -t
.gitattributes
.gitignore
CONTRIBUTE.md
LICENSE.md
README.md
composer.json
composer.lock
src/
src/ConsecutiveArguments.php
src/ConsecutiveArgumentsRectorRule.php

@michaelpetri michaelpetri enabled auto-merge (rebase) May 3, 2024 06:11
@michaelpetri
Copy link
Owner

mmhmm seems like laminas/laminas-ci-matrix-action can't access this files either. :/

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.

2 participants