terser.sh (410B)
1 #!/bin/bash -vex 2 3 set -x -e 4 5 echo "running as" $(id) 6 7 set -v 8 9 cd $GECKO_PATH 10 11 export PATH=$PATH:$MOZ_FETCHES_DIR/node/bin 12 13 ./mach configure --disable-compile-environment 14 ./mach npm ci --prefix tools/terser 15 16 # We have tools/terser/{node_modules,...} and want 17 # terser/{node_modules}. 18 cd tools/ 19 tar caf /tmp/terser.tar.zst terser 20 mkdir -p /builds/worker/artifacts 21 mv /tmp/terser.tar.zst /builds/worker/artifacts/