jozefizso / generator-license

Yeoman Generator - License
MIT License
59 stars 20 forks source link

update gitattributes #60

Closed ek9 closed 7 years ago

ek9 commented 7 years ago

add non-distributable (dev) files to gitattributes so they are ignored on regular install

SBoudrias commented 7 years ago

What do you mean by "regular install"?

ek9 commented 7 years ago

When npm publishes the distributable package for this, it will exclude development related files from distribution archive. In short, the files in .gitattributes will be excluded from the release.

More info on .gitattributes:

This will not affect a regular clone via git or anything like that, merely used when to cleanup files that do not need to be part of packaged release archive (development related files).

SBoudrias commented 7 years ago

I do believe the package.json files property take care of that already.

ek9 commented 7 years ago

Oh I see, then this is redundant. Closing.