Skip to content

Commit

Permalink
chore: bump kcl-openapi version to v0.4.2 and add it into kusion rele…
Browse files Browse the repository at this point in the history
…ase bundles.
  • Loading branch information
Peefy committed Oct 30, 2022
1 parent 91c7249 commit 77f2096
Show file tree
Hide file tree
Showing 4 changed files with 563 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ build-local-darwin-all: build-local-darwin ## Build kusion & kcl tool chain for
./cmd/kcl-go

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

# chmod +x
-chmod +x ./_build/bundles/kusion-darwin/bin/kusion
Expand Down Expand Up @@ -164,8 +164,8 @@ build-local-darwin-arm64-all: build-local-darwin-arm64 ## Build kusion & kcl too
./cmd/kcl-go

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

# chmod +x
-chmod +x ./_build/bundles/kusion-darwin-arm64/bin/kusion
Expand Down Expand Up @@ -229,8 +229,8 @@ build-local-ubuntu-all: build-local-linux ## Build kusion & kcl tool chain for
./cmd/kcl-go

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

# chmod +x
-chmod +x ./_build/bundles/kusion-linux/bin/kusion
Expand Down Expand Up @@ -273,8 +273,8 @@ build-local-centos-all: build-local-linux ## Build kusion & kcl tool chain for
./cmd/kcl-go

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

# chmod +x
-chmod +x ./_build/bundles/kusion-linux/bin/kusion
Expand Down Expand Up @@ -333,8 +333,8 @@ build-local-windows-all: build-local-windows ## Build kusion & kcl tool chain f
./cmd/kcl-go

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

# Copy docs
cp -r ./docs ./_build/bundles/kusion-windows/docs
Expand Down
4 changes: 1 addition & 3 deletions cmd/kcl-openapi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ module kusionstack.io/kusion/cmd/kcl-openapi

go 1.16

require kusionstack.io/kcl-openapi v0.4.1-alpha1 // indirect


require kusionstack.io/kcl-openapi v0.4.2
Loading

0 comments on commit 77f2096

Please sign in to comment.