Skip to content

Commit

Permalink
Merge branch 'main' into huijbers/dont-install-lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Jul 7, 2023
2 parents f96c6de + a4b9444 commit cca374a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ lib/vendor/noctilucent/*
.DS_Store

junit.xml
tmp/
1 change: 1 addition & 0 deletions packages/aws-cdk/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ junit.xml

generate.sh
lib/vendor/noctilucent/Dockerfile
tmp/
11 changes: 8 additions & 3 deletions packages/aws-cdk/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ HERE
# Download noctilucent wasm-pack build
NOCTILUCENT_VERSION=0.1.2
PACK_URL=https://github.com/iph/noctilucent/releases/download/v${NOCTILUCENT_VERSION}/wasm-pack.zip
zipfile=$PWD/tmp/noctilucent-wasm-${NOCTILUCENT_VERSION}.zip
outdir=lib/vendor/noctilucent

mkdir -p $outdir
(cd $outdir && curl -sSfLo wasm-pack.zip "$PACK_URL" && unzip -o wasm-pack.zip)
mkdir -p tmp
if [[ ! -f "$zipfile" ]]; then
curl -sSfLo "$zipfile" "$PACK_URL"
fi

(cd $outdir && unzip -qo $zipfile)

# Don't need these files
rm $outdir/{.gitignore,README.md,package.json,wasm-pack.zip}
rm -f $outdir/{.gitignore,README.md,package.json}

0 comments on commit cca374a

Please sign in to comment.