mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
060ecac067
closes #6300 closes #6301
30 lines
723 B
YAML
30 lines
723 B
YAML
distributable:
|
|
url: git+https://github.com/railwayapp/cli.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: railwayapp/cli
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: ~1.75 # uses older simd logic
|
|
rust-lang.org/cargo: '*'
|
|
script:
|
|
# 3.5.2 didn't bump version
|
|
- run: sed -i 's/^version = ".*"$/version = "{{version}}"/' Cargo.toml
|
|
# could not compile `proc-macro2` (lib) due to previous error
|
|
- cargo add proc-macro2
|
|
- cargo install $ARGS
|
|
env:
|
|
ARGS:
|
|
- --root={{prefix}}
|
|
- --path=.
|
|
- --locked
|
|
|
|
provides:
|
|
- bin/railway
|
|
|
|
test:
|
|
- railway init 2>out.log || true
|
|
- cat out.log | grep 'Unauthorized. Please login with `railway login`'
|
|
- railway --version | grep {{version}}
|