Setup
- You need to install OpenJDK 11 version. Visit OpenJDK.net for prebuilt binaries. Or you can install a proper OpenJDK package from your OS vendors.In macOS:$ brew tap AdoptOpenJDK/openjdk$ brew install --cask adoptopenjdk11In Linux (Ubuntu 20.04):$ sudo apt install openjdk-11-jdk
- Download and Install GoIn macOS:$ brew install goIn Linux (Ubuntu 20.04):$ wget -c https://go.dev/dl/go1.16.15.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local$ export PATH=$PATH:/usr/local/go/binVerify installation$ go version
You need to checkout the "goloop" repository for building the
goloop
CLI.$ git clone [email protected]:icon-project/goloop.git
$ GOLOOP_ROOT=/path/to/goloop
Then build the
goloop
CLI binary.$ cd ${GOLOOP_ROOT}
$ GOBUILD_TAGS= make goloop
Make sure the binary builds successfully.
$ ./bin/goloop version
goloop version v1.2.3-7-g78f7f438 linux/amd64 tags()-2022-03-21-14:09:46
Last modified 9mo ago