Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #185 from Financial-Times/rb-node_modules-indexing
Browse files Browse the repository at this point in the history
Add node_modules/.metadata_never_index on install
  • Loading branch information
remybach authored Apr 10, 2019
2 parents 21101db + f93dd84 commit 775f6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ instal%: node_modules bower_components dotfiles
# Regular npm install
node_modules: package.json
@if [ -e package-lock.json ]; then rm package-lock.json; fi
@if [ -e package.json ]; then $(NPM_INSTALL) && $(DONE); fi
@if [ -e package.json ]; then mkdir -p node_modules && touch node_modules/.metadata_never_index && $(NPM_INSTALL) && $(DONE); fi

# Regular bower install
bower_components: bower.json
Expand Down

0 comments on commit 775f6be

Please sign in to comment.