Pārlūkot izejas kodu

change bin target to use variable for cmd path

Ryan Huber 5 gadi atpakaļ
vecāks
revīzija
3fe99aa065
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ all:
 	make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-windows
 
 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
 
 install: