From 15d245ff573cbfb2537d93b8b15ac58e825aa4d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Fri, 15 Nov 2013 15:55:59 +0100 Subject: [PATCH] Build: Use absolute paths in .gitignore and .npmignore. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit .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) --- .gitignore | 8 ++++---- .npmignore | 12 +++++++----- 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 -- 2.39.5