Skip to content

Commit

Permalink
chore: deprecated old kcl-go commands (#199)
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy authored Dec 18, 2023
1 parent 4fe0984 commit 5551c4c
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 908 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ RUN_IN_DOCKER+=-v ~/.gitconfig:/root/.gitconfig
RUN_IN_DOCKER+=-v ${PWD}:/root/kcl
RUN_IN_DOCKER+=-w /root/kcl ${BUILD_IMAGE}

default:
go run ./cmds/kcl-go run hello.k

clean:
-rm -rf ./_build

Expand Down
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,10 @@ You can use KCL to
+ Mutating or validating Kubernetes resources with [cloud-native configuration tool plugins](https://kcl-lang.io/docs/user_docs/guides/working-with-k8s/).
+ Used as a platform engineering programming language to deliver modern applications with [Kusion Stack](https://kusionstack.io).

## Building
## Building & Testing

- [Install Go 1.19+](https://go.dev/dl/)

```bash
go run ./cmds/kcl-go run hello.k
name: kcl
age: 1
two: 2
x0:
name: kcl
age: 1
x1:
name: kcl
age: 101
```

## Testing

```bash
go test ./...
```
Expand Down
33 changes: 0 additions & 33 deletions cmds/kcl-go/command/cmd_build_info.go

This file was deleted.

48 changes: 0 additions & 48 deletions cmds/kcl-go/command/cmd_clean.go

This file was deleted.

122 changes: 0 additions & 122 deletions cmds/kcl-go/command/cmd_doc.go

This file was deleted.

31 changes: 0 additions & 31 deletions cmds/kcl-go/command/cmd_fmt.go

This file was deleted.

37 changes: 0 additions & 37 deletions cmds/kcl-go/command/cmd_grpc_server.go

This file was deleted.

50 changes: 0 additions & 50 deletions cmds/kcl-go/command/cmd_lint.go

This file was deleted.

27 changes: 0 additions & 27 deletions cmds/kcl-go/command/cmd_list.go

This file was deleted.

Loading

0 comments on commit 5551c4c

Please sign in to comment.