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

Commit

Permalink
build(Make): build task depends on node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Mar 2, 2017
1 parent 3bfa635 commit 9b6160e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ all: clean node_modules semistandard test dist/my-wallet.js dist/my-wallet.min.j
node_modules:
npm install

build:
build: node_modules
npm run build

test: build
./node_modules/karma/bin/karma start karma.conf.js --single-run

dist/my-wallet.js: build

dist/my-wallet.min.js:
dist/my-wallet.min.js: node_modules
npm run dist
npm shrinkwrap --dev

Expand Down

0 comments on commit 9b6160e

Please sign in to comment.