Remove old pkg dir before creating release tgz file

This commit is contained in:
wtfsck 2021-05-13 21:44:48 +02:00
parent 89d4ecc9f0
commit 825e55b417
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ gen_release() {
curr_dir=$(pwd)
cd "$root_dir/src/rust/iced-x86-js"
rm -rf pkg/
wasm-pack build --mode force --target nodejs
mkdir pkg/tests
cp ../../../LICENSE.txt pkg