Skip to content

Add .gitattributes to exclude development files from the package - #20

Merged
pavog merged 1 commit into
masterfrom
add-gitattributes
Oct 16, 2026
Merged

pavog merged 1 commit into
masterfrom
add-gitattributes

Conversation

@pavog

@pavog pavog commented Oct 16, 2026

Copy link
Copy Markdown
Member

This PR adds a .gitattributes file

Files that are only needed for development are marked with export-ignore. Composer uses git archive to build the package, so these files are no longer installed into vendor/:

  • .github/, docs/ and tests/
  • .gitattributes, .gitignore and .openapi-generator-ignore
  • config.yaml, openapi.yaml and openapitools.json (generator config and spec)
  • phpunit.xml.dist

The package now only contains src/, composer.json, composer.lock, LICENSE and README.md.

@pavog
pavog merged commit e3de6f3 into master Oct 16, 2026
5 checks passed
@pavog
pavog deleted the add-gitattributes branch October 16, 2026 11:50
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