Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit 8a86c09

Browse files
committed
build: use npx in Makefile itself
1 parent eac498c commit 8a86c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ libnpx.1: README.md
1212
npm run docs
1313

1414
bin/package.json: package.json bin/package.template.json
15-
cat bin/package.template.json | json -e "this.version = '$$(cat package.json | json version)'" > $@
16-
json -I -f $@ -e "this.dependencies.libnpx = '$$(cat $@ | json version)'"
15+
cat bin/package.template.json | npx json -e "this.version = '$$(cat package.json | npx json version)'" > $@
16+
npx json -I -f $@ -e "this.dependencies.libnpx = '$$(cat $@ | npx json version)'"
1717

1818
bin/node_modules: bin/package.json
1919
cd bin && npm i

0 commit comments

Comments
 (0)