Skip to content

Commit

Permalink
refactor: mv cmd/kcl-openapi to scripts/install-kcl-openapi (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
howieyuen committed Dec 13, 2022
1 parent 7ceb57f commit 6ae06f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ build-local-darwin-all: build-local-darwin ## Build kusion & kcl tool chain for
./scripts/install-kcl-go

# Build kcl-openapi
cd ./cmd/kcl-openapi && GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 \
cd ./scripts/install-kcl-openapi && GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 \
go build -o ${PWD}/_build/bundles/kusion-darwin/bin/kcl-openapi

# chmod +x
Expand Down Expand Up @@ -164,7 +164,7 @@ build-local-darwin-arm64-all: build-local-darwin-arm64 ## Build kusion & kcl too
./scripts/install-kcl-go

# Build kcl-openapi
cd ./cmd/kcl-openapi && GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 \
cd ./scripts/install-kcl-openapi && GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 \
go build -o ${PWD}/_build/bundles/kusion-darwin-arm64/bin/kcl-openapi

# chmod +x
Expand Down Expand Up @@ -229,7 +229,7 @@ build-local-ubuntu-all: build-local-linux ## Build kusion & kcl tool chain for
./scripts/install-kcl-go

# Build kcl-openapi
cd ./cmd/kcl-openapi && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
cd ./scripts/install-kcl-openapi && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build -o ${PWD}/_build/bundles/kusion-ubuntu/bin/kcl-openapi

# chmod +x
Expand Down Expand Up @@ -273,7 +273,7 @@ build-local-centos-all: build-local-linux ## Build kusion & kcl tool chain for
./scripts/install-kcl-go

# Build kcl-openapi
cd ./cmd/kcl-openapi && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
cd ./scripts/install-kcl-openapi && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build -o ${PWD}/_build/bundles/kusion-centos/bin/kcl-openapi

# chmod +x
Expand Down Expand Up @@ -333,7 +333,7 @@ build-local-windows-all: build-local-windows ## Build kusion & kcl tool chain f
./scripts/install-kcl-go

# Build kcl-openapi
cd ./cmd/kcl-openapi && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 \
cd ./scripts/install-kcl-openapi && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 \
go build -o ${PWD}/_build/bundles/kusion-windows/kcl-openapi

# Copy docs
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6ae06f1

Please sign in to comment.