Build: Use absolute paths in .gitignore and .npmignore.

.gitignore/.npmignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.

(cherry-picked from 2d73150511)
This commit is contained in:
Michał Gołębiowski 2013-11-15 15:55:59 +01:00
parent c536e7e19e
commit 15d245ff57
2 changed files with 11 additions and 9 deletions

8
.gitignore vendored
View File

@ -1,4 +1,3 @@
/dist
.project
.settings
*~
@ -8,6 +7,7 @@
.DS_Store
.bower.json
.sizecache.json
dist/.destination.json
bower_components
node_modules
/dist
/bower_components
/node_modules

View File

@ -1,10 +1,12 @@
.editorconfig
.gitattributes
.jscs.json
.jshintignore
.jshintrc
.mailmap
.travis.yml
/.editorconfig
/.gitattributes
/.jscs.json
/.mailmap
/.travis.yml
/build
/speed
/test