aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lowjs/use-npm-ci.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-25 20:32:29 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-25 20:30:55 +0100
commited20640a04872f7ab58e6e4428e1536b81141213 (patch)
tree94a4695dbd68d66d7df3350e3b02e9813de0fc3e /testing/lowjs/use-npm-ci.patch
parent0f5e8e387acadcca36686b7ba0be4225c2b6518b (diff)
downloadaports-ed20640a04872f7ab58e6e4428e1536b81141213.tar.bz2
aports-ed20640a04872f7ab58e6e4428e1536b81141213.tar.xz
testing/lowjs: new aport
Diffstat (limited to 'testing/lowjs/use-npm-ci.patch')
-rw-r--r--testing/lowjs/use-npm-ci.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/lowjs/use-npm-ci.patch b/testing/lowjs/use-npm-ci.patch
new file mode 100644
index 0000000000..d57ef22e81
--- /dev/null
+++ b/testing/lowjs/use-npm-ci.patch
@@ -0,0 +1,13 @@
+See https://docs.npmjs.com/cli/ci.html
+
+--- a/Makefile
++++ b/Makefile
+@@ -84,7 +84,7 @@
+ cp util/root-certs.json lib/internal
+ touch lib/BUILT
+ node_modules/BUILT: package.json
+- npm install
++ npm ci
+ touch node_modules/BUILT
+
+ deps/duktape/src-low/duktape.c: $(shell find deps/duktape/src-input)