| 5 | } |
| 6 |
| 7 | sudodo apt-get install bison gcc make curl ninja-build -y |
| 8 |
| 9 | bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) |
| 10 | source $HOME/.gvm/scripts/gvm |
| 11 | gvm install go1.15.6 -B |
| 12 | gvm use go1.15.6 --default |
| 13 |
| 14 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y |
| 15 | echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env |
| 16 |
| 17 | git submodule update --init --recursive |
| 18 |
| 19 | cd ss-rust/src/main/rust/shadowsocks-rust |
| 20 | rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android |