+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>
This commit is contained in:
Kevin Chen 2023-08-27 12:25:35 -04:00 committed by GitHub
parent 74cebbe0fc
commit 2c0bc6ace6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
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}}"