Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 660 Bytes
#/bin/bash
set -ex
if [ -x "$(command -v sudo)" ]; then
sudo apt-get install zlib1g-dev libsqlite3-dev
else
apt-get install zlib1g-dev libsqlite3-dev
fi
BINARYEN_VERSION=105
curl -L -v -o binaryen.tar.gz https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-x86_64-linux.tar.gz
tar xzvf binaryen.tar.gz
cp binaryen-version_${BINARYEN_VERSION}/bin/* /usr/local/bin
WABT_VERSION=1.0.27
curl -L -v -o wabt.tar.gz https://github.com/WebAssembly/wabt/releases/download/${WABT_VERSION}/wabt-${WABT_VERSION}-ubuntu.tar.gz
tar xzvf wabt.tar.gz
cp wabt-${WABT_VERSION}/bin/* /usr/local/bin