helloworld/Makefile

17 lines
239 B
Makefile

all:
GO111MODULE=off go build -v -x
./helloworld
gocui:
./helloworld --gui gocui >/tmp/helloworld.stdout 2>&1
goimports:
goimports -w *.go
redomod:
rm -f go.*
goimports -w *.go
GO111MODULE= go mod init
GO111MODULE= go mod tidy