Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Jun 25, 2024
1 parent feb7137 commit 8130c6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,20 @@
## Code generation

1. Regenerating definitions after changing the schema in [scip.proto](./scip.proto).

If you have **asdf** setup on your machine, you can use the binding generation script directly:

```
./dev/proto-generate.sh
```

For the Haskell bindings, see `bindings/haskell/README.md`.

You can also run the same script in a pre-configured Docker environment,
by running `./dev/proto-generate-in-docker.sh` - this command will
build the environment and run ./dev/proto-generate.sh script. The only
dependency you need is Docker.

2. Regenerating snapshots after making changes to the CLI.
```
go test ./cmd/scip -update-snapshots
Expand Down

0 comments on commit 8130c6c

Please sign in to comment.