mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
switch to wisp-js
This commit is contained in:
parent
82249fe707
commit
a8db133241
6 changed files with 23 additions and 12 deletions
16
client/tools/wisp_client.sh
Executable file
16
client/tools/wisp_client.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
#download and extract wisp-js
|
||||
|
||||
set -e
|
||||
|
||||
VERSION="0.3.3"
|
||||
PREFIX=$(realpath build/wisp-js)
|
||||
TARBALL_PATH="$(realpath build/wisp-archive.tgz)"
|
||||
TARBALL_URL=$(npm view @mercuryworkshop/wisp-js@$VERSION dist.tarball)
|
||||
|
||||
rm -rf $PREFIX
|
||||
mkdir -p $PREFIX
|
||||
wget $TARBALL_URL -O $TARBALL_PATH
|
||||
tar xvf $TARBALL_PATH -C $PREFIX
|
||||
rm $TARBALL_PATH
|
Loading…
Add table
Add a link
Reference in a new issue