update wisp server and docs, don't redownload wisp client

This commit is contained in:
Allen Ding 2024-11-20 10:03:01 -08:00
parent 2067592b7b
commit 627fd15e4d
3 changed files with 8 additions and 4 deletions

View file

@ -52,7 +52,7 @@ git clone https://github.com/ading2210/libcurl.js --recursive
cd libcurl.js/client
./build.sh
```
Make sure you have emscripten, git, and the various C build tools installed. The only OS supported for building libcurl.js is Linux. On Debian-based systems, you can run the following command to install all the dependencies:
Make sure you have emscripten v3.1.6, git, and the various C build tools installed. The only OS supported for building libcurl.js is Linux. On Debian-based systems, you can run the following command to install all the dependencies:
```
sudo apt install make cmake emscripten autoconf automake libtool pkg-config wget xxd jq
```

View file

@ -6,11 +6,15 @@ set -e
VERSION="0.3.3"
PREFIX=$(realpath build/wisp-js)
TARBALL_PATH="$(realpath build/wisp-archive.tgz)"
TARBALL_PATH="$(realpath build/wisp-archive.tar.gz)"
TARBALL_URL=$(npm view @mercuryworkshop/wisp-js@$VERSION dist.tarball)
if [ -d "$PREFIX" ]; then
exit
fi
rm -rf $PREFIX
mkdir -p $PREFIX
wget $TARBALL_URL -O $TARBALL_PATH
tar xvf $TARBALL_PATH -C $PREFIX
tar xf $TARBALL_PATH -C $PREFIX
rm $TARBALL_PATH

@ -1 +1 @@
Subproject commit f931adf9fea476fefffb1f0c3789cafda58d54ba
Subproject commit dee3e21dbb0b5796b56bc0d76dc58a46db1d1dd8