Skip to content

Setup .gitattributes - in order to exclude tests and other dev files from dist#101

Open
sasezaki wants to merge 1 commit intophpDocumentor:masterfrom
sasezaki:gitattributes
Open

Setup .gitattributes - in order to exclude tests and other dev files from dist#101
sasezaki wants to merge 1 commit intophpDocumentor:masterfrom
sasezaki:gitattributes

Conversation

@sasezaki
Copy link

  • Currently, The archive targets other than src/ are as follow
gh api repos/phpDocumentor/GraphViz/tarball/HEAD | tar -tzf - | cut -d/ -f2- | sed '/^$/d' | grep -v src/
.github/
.github/dependabot.yml
.github/workflows/
.github/workflows/push.yml
.gitignore
.scrutinizer.yml
LICENSE
Makefile
README.md
composer.json
phpcs.xml.dist
phpmd.xml.dist
phpstan.neon
phpunit.xml.dist
psalm.xml
tests/
tests/Resources/
tests/Resources/Dockerfile
tests/phpDocumentor/
tests/phpDocumentor/GraphViz/
tests/phpDocumentor/GraphViz/Test/
tests/phpDocumentor/GraphViz/Test/AttributeTest.php
tests/phpDocumentor/GraphViz/Test/AttributesTest.php
tests/phpDocumentor/GraphViz/Test/EdgeTest.php
tests/phpDocumentor/GraphViz/Test/GraphTest.php
tests/phpDocumentor/GraphViz/Test/NodeTest.php
  • With this PR, The archive targets other than src/ will be as follows:
 git archive --format=tar HEAD | tar -tf - | grep -v src/
LICENSE
README.md
composer.json

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