sudo apt-get install -y curl bison gcc
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.4.3
gvm use go1.4.3
gvm pkgset create l0xyd
gvm pkgset use l0xyd
brew install go
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.4.3
gvm use go1.4.3
gvm pkgset create l0xyd
gvm pkgset use l0xyd
pkg install go-1.5.1 gmake git mercurial
go get github.com/LPgenerator/L0xyd
cd ~/.gvm/pkgsets/go1.4.3/l0xyd/src/github.com/LPgenerator/L0xyd
This will download and restore all dependencies required to build L0xyd
:
make deps
For FreeBSD use gmake deps
Normally you would use L0xyd
, in order to compile and run Go source use go toolchain:
go run main.go run
You can run L0xyd
in debug-mode:
go run --debug main.go run
go build
go install