Merge pull request #3124 from hashicorp/b-windows-binary-missing-extension
Add .exe file extensions for windows builds
This commit is contained in:
commit
f5c5362e54
|
@ -92,7 +92,7 @@ pkg/windows_386/nomad: $(SOURCE_FILES) ## Build Nomad for windows/386
|
|||
go build \
|
||||
-ldflags $(GO_LDFLAGS) \
|
||||
-tags "$(GO_TAGS)" \
|
||||
-o "$@"
|
||||
-o "$@.exe"
|
||||
|
||||
pkg/windows_amd64/nomad: $(SOURCE_FILES) ## Build Nomad for windows/amd64
|
||||
@echo "==> Building $@..."
|
||||
|
@ -100,7 +100,7 @@ pkg/windows_amd64/nomad: $(SOURCE_FILES) ## Build Nomad for windows/amd64
|
|||
go build \
|
||||
-ldflags $(GO_LDFLAGS) \
|
||||
-tags "$(GO_TAGS)" \
|
||||
-o "$@"
|
||||
-o "$@.exe"
|
||||
|
||||
pkg/linux_amd64-lxc/nomad: $(SOURCE_FILES) ## Build Nomad+LXC for linux/amd64
|
||||
@echo "==> Building $@..."
|
||||
|
|
Loading…
Reference in a new issue