clean up makefile per wadey comment
This commit is contained in:
parent
a5814be1ca
commit
2bff0b266e
8
Makefile
8
Makefile
|
@ -3,13 +3,7 @@ BUILD_NUMBER ?= dev+$(shell date -u '+%Y%m%d%H%M%S')
|
||||||
GO111MODULE = on
|
GO111MODULE = on
|
||||||
export GO111MODULE
|
export GO111MODULE
|
||||||
|
|
||||||
all:
|
all: bin-linux bin-arm bin-arm6 bin-arm64 bin-darwin bin-windows
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-linux
|
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-arm
|
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-arm6
|
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-arm64
|
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-darwin
|
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-windows
|
|
||||||
|
|
||||||
bin:
|
bin:
|
||||||
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ${NEBULA_CMD_PATH}
|
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ${NEBULA_CMD_PATH}
|
||||||
|
|
Loading…
Reference in New Issue