Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 2d7315051193212fca6e7d64a3de87d96977c418 1 parent fd0bce0
@mzgol mzgol authored
Showing with 11 additions and 9 deletions.
  1. +4 −4 .gitignore
  2. +7 −5 .npmignore
View
8 .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
View
12 .npmignore
@@ -1,10 +1,12 @@
-.editorconfig
-.gitattributes
-.jscs.json
.jshintignore
.jshintrc
-.mailmap
-.travis.yml
+
+/.editorconfig
+/.gitattributes
+/.jscs.json
+/.mailmap
+/.travis.yml
+
/build
/speed
/test
Please sign in to comment.
Something went wrong with that request. Please try again.