diff --git a/Makefile b/Makefile index 24264d9..80b8dbb 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,25 @@ verbose: GO111MODULE=off go build -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build: goimports vet plugin + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + install: goimports vet plugin GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +install-raw: goimports vet plugin + go install \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + + plugin: rm -f resources/*.so - -cp ~/go/lib/gocui.so resources/ + cp ../../toolkits/gocui/gocui.so resources/ + +andlabs: + forge --gui andlabs goimports: reset