change bin target to use variable for cmd path
This commit is contained in:
parent
00d6973e27
commit
3fe99aa065
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ all:
|
||||||
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-windows
|
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-windows
|
||||||
|
|
||||||
bin:
|
bin:
|
||||||
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ./cmd/nebula
|
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ${NEBULA_CMD_PATH}
|
||||||
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula-cert ./cmd/nebula-cert
|
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula-cert ./cmd/nebula-cert
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in New Issue