mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
f9609abda4
closes #5776
32 lines
830 B
YAML
32 lines
830 B
YAML
distributable:
|
|
strip-components: 1
|
|
url: https://github.com/edgedb/edgedb-cli/archive/refs/tags/v{{version.raw}}.tar.gz
|
|
|
|
versions:
|
|
github: edgedb/edgedb-cli/tags
|
|
strip: /v/
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: ^1.61
|
|
rust-lang.org/cargo: ^0
|
|
perl.org: ^5
|
|
env:
|
|
RUSTFLAGS:
|
|
# Ignore warnings (to focus on errors)
|
|
- -A warnings
|
|
# Reduce build size by excluding debug symbols.
|
|
- -C debuginfo=0
|
|
script:
|
|
# Required to avoid conflicts
|
|
- mv build.rs build.rs.bak || true
|
|
# match contains an unknown arm
|
|
- run: sed -i -e's|T::Argument => None|// T::Argument => None|' highlight.rs
|
|
working-directory: src
|
|
if: '>=4'
|
|
- cargo install --locked --path . --root {{prefix}}
|
|
|
|
test: test "$(edgedb --version)" = "EdgeDB CLI {{version.raw}}"
|
|
|
|
provides:
|
|
- bin/edgedb
|