Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (26 sloc) 614 Bytes
#!/bin/bash
git submodule update --init --recursive
case "$OSTYPE" in
darwin*)
echo "OS: MacOS"
brew install nvm
NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
cd ethsnarks
make mac-dependencies
nvm install --lts
;;
linux*)
echo "OS: Linux"
cd ethsnarks
sudo apt-get update
sudo make ubuntu-dependencies
;;
*)
echo "unsupported OS: $OSTYPE"
exit 0
;;
esac
make PIP_ARGS= python-dependencies
cd ..
npm install
You can’t perform that action at this time.