]> source.dussan.org Git - jquery.git/commitdiff
Build: Use absolute paths in .gitignore and .npmignore. 1436/head
authorMichał Gołębiowski <m.goleb@gmail.com>
Fri, 15 Nov 2013 14:55:59 +0000 (15:55 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 18 Dec 2013 14:16:21 +0000 (15:16 +0100)
.gitignore/.npmignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.

.gitignore
.npmignore

index dbd77ade9f6e4487204fde95689e491c1938bd77..7f4060a29128e45bf6bc6fddd9d531044ecf1e04 100644 (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
index 916b4c5324de03764757accee9a32645330529d7..595cb6ac9d8327595a018845d33c6af362633444 100644 (file)
@@ -1,10 +1,12 @@
-.editorconfig
-.gitattributes
-.jscs.json
 .jshintignore
 .jshintrc
-.mailmap
-.travis.yml
+
+/.editorconfig
+/.gitattributes
+/.jscs.json
+/.mailmap
+/.travis.yml
+
 /build
 /speed
 /test