mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d334bbc3c2
commit
601fcfe3ac
2 changed files with 56 additions and 0 deletions
25
projects/crates.io/cpz/package.yml
Normal file
25
projects/crates.io/cpz/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/SUPERCILEX/fuc/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/cpz
|
||||
|
||||
versions:
|
||||
github: SUPERCILEX/fuc
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.60'
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo install --locked --path cpz --root {{prefix}}
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
wilfred.me.uk/difftastic: '*'
|
||||
script:
|
||||
- mkdir -p a/b/c/d/e
|
||||
- echo aaa > a/b/c/d/e/f
|
||||
- echo aaa > a/b/c/d/e/g
|
||||
- cpz a a2
|
||||
- difft a a2 --check-only --exit-code
|
31
projects/crates.io/rmz/package.yml
Normal file
31
projects/crates.io/rmz/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
distributable:
|
||||
url: https://github.com/SUPERCILEX/fuc/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/rmz
|
||||
|
||||
versions:
|
||||
github: SUPERCILEX/fuc
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.60'
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo install --locked --path rmz --root {{prefix}}
|
||||
|
||||
test:
|
||||
# there is some odd bug that seems to prevent the full test from running
|
||||
# on linux/x86-64 runners, so we'll do a short one
|
||||
# https://github.com/SUPERCILEX/fuc/issues/34
|
||||
- run: |
|
||||
touch a
|
||||
rmz a
|
||||
test ! -f a
|
||||
exit
|
||||
if: linux/x86-64
|
||||
- mkdir a
|
||||
- touch a/b
|
||||
- test -f a/b
|
||||
- rmz a
|
||||
- test ! -d a
|
Loading…
Reference in a new issue