From: Michał Gołębiowski Date: Fri, 15 Nov 2013 14:55:59 +0000 (+0100) Subject: Build: Use absolute paths in .gitignore and .npmignore. X-Git-Tag: 2.1.0-beta3~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d7315051193212fca6e7d64a3de87d96977c418;p=jquery.git 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. --- diff --git a/.gitignore b/.gitignore index dbd77ade9..7f4060a29 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/.npmignore b/.npmignore index 916b4c532..595cb6ac9 100644 --- a/.npmignore +++ b/.npmignore @@ -1,10 +1,12 @@ -.editorconfig -.gitattributes -.jscs.json .jshintignore .jshintrc -.mailmap -.travis.yml + +/.editorconfig +/.gitattributes +/.jscs.json +/.mailmap +/.travis.yml + /build /speed /test