mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+trippy.cli.rs (#4483)
* new file: projects/trippy.cli.rs/package.yml * wip * :(
This commit is contained in:
parent
aa71a13272
commit
cef94e07e8
1 changed files with 29 additions and 0 deletions
29
projects/trippy.cli.rs/package.yml
Normal file
29
projects/trippy.cli.rs/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/fujiapple852/trippy/archive/refs/tags/{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: fujiapple852/trippy
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: ^1.65
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
script:
|
||||||
|
- cargo install $CARGO_ARGS
|
||||||
|
env:
|
||||||
|
CARGO_ARGS:
|
||||||
|
- --locked
|
||||||
|
- --root="{{prefix}}"
|
||||||
|
- --path=.
|
||||||
|
provides:
|
||||||
|
- bin/trip
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- trip --version | grep {{version}}
|
||||||
|
# Error: privileges are required
|
||||||
|
# `trip` requires root privileges to run on linux.
|
||||||
|
- run: |
|
||||||
|
trip pkgx.sh -u -m json -C 5 > output.json
|
||||||
|
cat output.json | grep 'pkgx.sh'
|
||||||
|
cat output.json | grep 'hosts'
|
||||||
|
cat output.json | grep 'ip'
|
||||||
|
if: darwin
|
Loading…
Reference in a new issue