mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+edgedb.com (#3708)
* +edgedb.com * fix * improve code style * remove `--locked` from `cargo install`
This commit is contained in:
parent
37bc4ba445
commit
f46c585dbc
1 changed files with 29 additions and 0 deletions
29
projects/edgedb.com/package.yml
Normal file
29
projects/edgedb.com/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
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
|
||||||
|
cargo install --path . --root {{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
test "$(edgedb --version)" = "EdgeDB CLI {{version.raw}}"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/edgedb
|
Loading…
Reference in a new issue