mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+wthrr
This commit is contained in:
parent
2090e1d0b2
commit
d432ac7118
1 changed files with 53 additions and 0 deletions
53
projects/crates.io/wthrr/package.yml
Normal file
53
projects/crates.io/wthrr/package.yml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/ttytm/wthrr-the-weathercrab/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/wthrr
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: ttytm/wthrr-the-weathercrab
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
openssl.org: ^1.1
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: '>=1.56'
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
script: cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
fixture: |
|
||||||
|
(
|
||||||
|
address: "san juan, pr",
|
||||||
|
language: "en_US",
|
||||||
|
forecast: [
|
||||||
|
week,
|
||||||
|
],
|
||||||
|
units: (
|
||||||
|
temperature: celsius,
|
||||||
|
speed: kmh,
|
||||||
|
time: military,
|
||||||
|
precipitation: probability,
|
||||||
|
),
|
||||||
|
gui: (
|
||||||
|
border: rounded,
|
||||||
|
color: default,
|
||||||
|
graph: (
|
||||||
|
style: lines(solid),
|
||||||
|
rowspan: double,
|
||||||
|
time_indicator: true,
|
||||||
|
),
|
||||||
|
greeting: true,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
script:
|
||||||
|
- run: cat $FIXTURE > wthrr.ron
|
||||||
|
working-directory: $WTHRR_HOME
|
||||||
|
- wthrr 'san juan, pr'
|
||||||
|
env:
|
||||||
|
darwin:
|
||||||
|
WTHRR_HOME: $HOME/Library/Application Support/weathercrab
|
||||||
|
linux:
|
||||||
|
WTHRR_HOME: $HOME/.config/weathercrab
|
Loading…
Reference in a new issue