mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+when: CLI for timezones (#3365)
* +when: CLI for timezones * git submodule update * yml syntax * fix test --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
f2b151306b
commit
4965ada8a5
1 changed files with 27 additions and 0 deletions
27
projects/github.com/mitsuhiko/when/package.yml
Normal file
27
projects/github.com/mitsuhiko/when/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/mitsuhiko/when
|
||||||
|
ref: ${{version}}
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/when
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: mitsuhiko/when/tags
|
||||||
|
strip: /v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
# working-directory: cli
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: '>=1.65'
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
freedesktop.org/pkg-config: '*'
|
||||||
|
git-scm.org: ^2
|
||||||
|
script:
|
||||||
|
# libwhen uses when-data submodule
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- cargo install --locked --path ./cli --root {{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- test "$(when --version)" = "when-cli {{version}}"
|
||||||
|
- when "now in vienna"
|
Loading…
Reference in a new issue