Use tar (maybe symlink to bsdtar) for netlify

This commit is contained in:
Cecile Tonglet 2020-09-21 15:06:54 +02:00
parent 000e6e5fca
commit b548eb5c54

View file

@ -18,7 +18,7 @@ rm -fR public/.gitignore public/*
cp static/index.html public/
# download blueprint css
bsdtar xOf core.tgz package/lib/css/blueprint.css > public/blueprint.css
tar xzOf core.tgz package/lib/css/blueprint.css > public/blueprint.css
# build
wasm-pack build --no-typescript --target web --out-name wasm --out-dir ./public "${options[@]}" "$@"