jsonpath/wasm/build.sh

12 lines
193 B
Bash
Raw Normal View History

2019-03-03 00:33:27 +09:00
#!/bin/bash
set -e
cd ./www && \
rm -rf dist && \
rm -rf node_modules && \
npm install && \
cd .. && \
wasm-pack build --target=$1 --out-dir=www/node_modules/rs-jsonpath