We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unbuild
1 parent 3b604ba commit 03e81a8Copy full SHA for 03e81a8
scripts/BigRedButton
@@ -34,7 +34,7 @@ npm run build -- -M raspi2 && npm test -- -M raspi2 || exit 12
34
STEP_DIR=$PREBUILD
35
36
mkdir -p prebuilds &&
37
-tar -cf - ${PRODUCTS[@]} | gzip > $PREBUILD || err 20
+tar -cf - ${PRODUCTS[@]} | gzip > $STEP_DIR || err 20
38
39
40
#
scripts/unbuild
@@ -1,6 +1,8 @@
1
#!/usr/bin/env sh
2
3
-rm -rf build/ deps/
4
-rm -rf bin/ lib/ libexec/ share/ *-nodeos-linux-musl*
+PRODUCTS=(bin lib libexec share *-nodeos-linux-musl*)
5
6
-npm run prepublish -- --force
+rm -rf build/ deps/ || exit 1
+rm -rf ${PRODUCTS[@]} || exit 2
7
+
8
+npm run prepublish -- --force || exit 10
0 commit comments