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

Create .gitattributes #121

Merged
merged 2 commits into from
Feb 6, 2016
Merged

Create .gitattributes #121

merged 2 commits into from
Feb 6, 2016

Conversation

barryvdh
Copy link
Contributor

@barryvdh barryvdh commented Feb 3, 2016

This should do 2 things:

  • Exclude the _assert directory for language statistics, so hopefully will mark this as a PHP library (instead of HTML) See https://github.com/github/linguist#overrides
    • Export the tests directory when stable zip releases are downloaded with Composer, to save space/bandwidth. With --prefer-source they are still downloaded.

Not 100% sure of the language override is completely correct, but I hope so :)

@barryvdh
Copy link
Contributor Author

barryvdh commented Feb 3, 2016

I've also excluded the example dir now. Added benefit is that, when the vendor folder is in the public folder, you can't just run the examples.

@eyecatchup
Copy link
Owner

Looks good to me. Thanks! 👍

eyecatchup added a commit that referenced this pull request Feb 6, 2016
Add a .gitattributes file
@eyecatchup eyecatchup merged commit 33f08a0 into eyecatchup:master Feb 6, 2016
@barryvdh
Copy link
Contributor Author

barryvdh commented Feb 6, 2016

Good, 100% PHP now :)

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