Skip to content

Commit d65c204

Browse files
authored
Merge pull request #161 from mapbox/travis-fix
Fixes travis on master branch
2 parents 7ceb3de + 24a381b commit d65c204

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ export WERROR ?= false
55

66
default: release
77

8-
node_modules:
8+
./node_modules/.bin/node-pre-gyp:
99
# install deps but for now ignore our own install script
1010
# so that we can run it directly in either debug or release
1111
npm install --ignore-scripts
1212

13-
release: node_modules
13+
release: ./node_modules/.bin/node-pre-gyp
1414
V=1 ./node_modules/.bin/node-pre-gyp configure build --error_on_warnings=$(WERROR) --loglevel=error
1515
@echo "run 'make clean' for full rebuild"
1616

17-
debug: node_modules
17+
debug: ./node_modules/.bin/node-pre-gyp
1818
V=1 ./node_modules/.bin/node-pre-gyp configure build --error_on_warnings=$(WERROR) --loglevel=error --debug
1919
@echo "run 'make clean' for full rebuild"
2020

@@ -46,7 +46,7 @@ distclean: clean
4646
rm -rf .toolchain
4747
rm -f local.env
4848

49-
xcode: node_modules
49+
xcode: ./node_modules/.bin/node-pre-gyp
5050
./node_modules/.bin/node-pre-gyp configure -- -f xcode
5151

5252
@# If you need more targets, e.g. to run other npm scripts, duplicate the last line and change NPM_ARGUMENT

0 commit comments

Comments
 (0)