diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,6 +5,16 @@ all: block.pb.go verbose # -fixup --gui-check-plugin ../../../toolkits/gocui/gocui.so fixup --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so +default: generate install + +generate: clean + go mod init + go mod tidy + go generate + +go-generate: + rm -f *.pb.go *.patch + go-build: goimports GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" |
