minor
This commit is contained in:
parent
eeb3306bd5
commit
3b6e84abdf
14
Makefile
14
Makefile
|
@ -14,13 +14,25 @@ verbose:
|
||||||
GO111MODULE=off go build -v -x \
|
GO111MODULE=off go build -v -x \
|
||||||
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
-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
|
install: goimports vet plugin
|
||||||
GO111MODULE=off go install \
|
GO111MODULE=off go install \
|
||||||
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
-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:
|
plugin:
|
||||||
rm -f resources/*.so
|
rm -f resources/*.so
|
||||||
-cp ~/go/lib/gocui.so resources/
|
cp ../../toolkits/gocui/gocui.so resources/
|
||||||
|
|
||||||
|
andlabs:
|
||||||
|
forge --gui andlabs
|
||||||
|
|
||||||
goimports:
|
goimports:
|
||||||
reset
|
reset
|
||||||
|
|
Loading…
Reference in New Issue