pantry/projects/crates.io/bartib/package.yml
Jacob Heider 259570857e +bartib
2023-11-28 19:07:48 -05:00

29 lines
633 B
YAML

distributable:
url: https://github.com/nikolassv/bartib/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: nikolassv/bartib
strip: /^v/
build:
dependencies:
rust-lang.org: ^1.65
rust-lang.org/cargo: '*'
script: cargo install --path . --root {{prefix}} --locked
provides:
- bin/bartib
test:
script:
- bartib start -d "Urgent Task X" -p "Important Project"
- bartib stop
- bartib continue
- bartib start -d "More Urgent Task Y" -p "Just Another Project B"
- bartib list --today
- bartib report --today
- cat bartib.log
env:
BARTIB_FILE: bartib.log