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=refs%2Fpull%2F1436%2Fhead;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