Skip to content

Commit

Permalink
README: binaried & build
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Aug 20, 2023
1 parent 5c07e9a commit e7e4ec9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,29 @@ ALTER VIEW `v1` AS SELECT `id`, `name` FROM `t1`;

Consider that running `schemadiff diff` on the same views above results with validation error, because the referenced table `t1` does not appear in the schema definition. `diff-view` does not attempt to resolve dependencies.


## Binaries

Binaries for linux/amd64 and for darwin/arm64 are available in [Releases](https://github.com/planetscale/schemadiff/releases).

The `CI` action builds a Linux/amd64 `schemadiff` binary as artifact. See [Actions](https://github.com/planetscale/schemadiff/actions)

## Build

To build `schemadiff`, run:

```sh
$ make all
```

Or, directly invoke:

```sh
$ go build -o bin/schemadiff ./cmd/schemadiff/main.go
```

`schemadiff` was built with `go1.20`.

## License

`schemadiff` command line tool is released under [Apache 2.0 license](LICENSE)

0 comments on commit e7e4ec9

Please sign in to comment.