mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
update wisp server and docs, don't redownload wisp client
This commit is contained in:
parent
2067592b7b
commit
627fd15e4d
3 changed files with 8 additions and 4 deletions
|
@ -52,7 +52,7 @@ git clone https://github.com/ading2210/libcurl.js --recursive
|
||||||
cd libcurl.js/client
|
cd libcurl.js/client
|
||||||
./build.sh
|
./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
|
sudo apt install make cmake emscripten autoconf automake libtool pkg-config wget xxd jq
|
||||||
```
|
```
|
||||||
|
|
|
@ -6,11 +6,15 @@ set -e
|
||||||
|
|
||||||
VERSION="0.3.3"
|
VERSION="0.3.3"
|
||||||
PREFIX=$(realpath build/wisp-js)
|
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)
|
TARBALL_URL=$(npm view @mercuryworkshop/wisp-js@$VERSION dist.tarball)
|
||||||
|
|
||||||
|
if [ -d "$PREFIX" ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $PREFIX
|
rm -rf $PREFIX
|
||||||
mkdir -p $PREFIX
|
mkdir -p $PREFIX
|
||||||
wget $TARBALL_URL -O $TARBALL_PATH
|
wget $TARBALL_URL -O $TARBALL_PATH
|
||||||
tar xvf $TARBALL_PATH -C $PREFIX
|
tar xf $TARBALL_PATH -C $PREFIX
|
||||||
rm $TARBALL_PATH
|
rm $TARBALL_PATH
|
|
@ -1 +1 @@
|
||||||
Subproject commit f931adf9fea476fefffb1f0c3789cafda58d54ba
|
Subproject commit dee3e21dbb0b5796b56bc0d76dc58a46db1d1dd8
|
Loading…
Add table
Add a link
Reference in a new issue