aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-11-15 15:55:59 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2013-12-18 15:17:19 +0100
commit15d245ff573cbfb2537d93b8b15ac58e825aa4d9 (patch)
treea2196d9c0a33c09f7512630cd7a5c33df8f51517
parentc536e7e19ee6b48306ddfa6b7298b90c017af6ca (diff)
downloadjquery-15d245ff573cbfb2537d93b8b15ac58e825aa4d9.tar.gz
jquery-15d245ff573cbfb2537d93b8b15ac58e825aa4d9.zip
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 2d7315051193212fca6e7d64a3de87d96977c418)
-rw-r--r--.gitignore8
-rw-r--r--.npmignore12
2 files changed, 11 insertions, 9 deletions
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