pantry/projects/squawkhq.com/package.yml
Kevin Chen 2c0bc6ace6
+squawk -- a linter for PostgreSQL migrations (#3082)
* +squawk -- a linter for Postgres migrations

* fix: openssl

* fix: perl

* fix: typo

* needs make

* proc-macro2 seems version-fragile

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-08-27 18:25:35 +02:00

26 lines
489 B
YAML

distributable:
url: https://github.com/sbdchd/squawk/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/squawk
versions:
github: sbdchd/squawk
strip: /v/
build:
working-directory: cli
dependencies:
tea.xyz/gx/make: '*'
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
openssl.org: '*'
perl.org: '*'
script:
cargo install --path . --root {{prefix}}
test:
script:
- test "$(squawk --version)" = "squawk {{version}}"