diff --git a/projects/crates.io/bartib/package.yml b/projects/crates.io/bartib/package.yml new file mode 100644 index 00000000..9134c031 --- /dev/null +++ b/projects/crates.io/bartib/package.yml @@ -0,0 +1,28 @@ +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