We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9cd06 commit 432f2aeCopy full SHA for 432f2ae
go/Makefile
@@ -2,6 +2,7 @@
2
3
GOPATH := $(shell go env GOPATH)
4
OUT_DIR := .out
5
+CLI_BIN := ../ts/create-kpt-functions/bin/
6
7
all: fix fmt test test-e2e lint
8
@@ -33,5 +34,7 @@ build-typegen: fix fmt test lint
33
34
env GOOS=windows GOARCH=amd64 go build -o $(OUT_DIR)/typegen_windows_amd64 ./cmd/typegen
35
36
publish-typegen: build-typegen
- cp $(OUT_DIR)/typegen* ../ts/create-kpt-functions/bin/
37
+ rm -rf $(CLI_BIN)
38
+ mkdir -p $(CLI_BIN)
39
+ cp $(OUT_DIR)/typegen* $(CLI_BIN)
40
0 commit comments