mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
14 lines
265 B
Bash
Executable File
14 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
|
|
which go
|
|
if [ $? != 0 ]; then
|
|
wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
|
|
sudo tar -C /usr/local -xzf $GOPACKAGE
|
|
export GOPATH=$HOME/go
|
|
export GOROOT=/usr/local/go
|
|
fi
|
|
|
|
go version
|
|
cd tests/interop/go_pkgs/
|
|
go install ./...
|