Skip to content

Commit

Permalink
Add windows support for argo-cli (argoproj#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuericlee authored and jessesuen committed May 15, 2018
1 parent 703241e commit 4f2fde5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ cli-darwin: builder
IMAGE_NAMESPACE=$(IMAGE_NAMESPACE) \
ARGO_CLI_NAME=argo-darwin-amd64

.PHONY: cli-windows
cli-windows: builder
${BUILDER_CMD} make cli \
GOARCH=amd64 \
GOOS=windows \
IMAGE_TAG=$(IMAGE_TAG) \
IMAGE_NAMESPACE=$(IMAGE_NAMESPACE) \
LDFLAGS='-extldflags "-static"' \
ARGO_CLI_NAME=argo-windows-amd64

.PHONY: controller
controller:
go build -v -i -ldflags '${LDFLAGS}' -o ${DIST_DIR}/workflow-controller ./cmd/workflow-controller
Expand Down

0 comments on commit 4f2fde5

Please sign in to comment.