From 58ca2224b045f52a70fcad9a1126d2cddb3733dd Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 14 Jan 2024 12:41:25 +0200 Subject: [PATCH] + --- projects/atuin.sh/package.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/atuin.sh/package.yml diff --git a/projects/atuin.sh/package.yml b/projects/atuin.sh/package.yml new file mode 100644 index 00000000..0ac8be94 --- /dev/null +++ b/projects/atuin.sh/package.yml @@ -0,0 +1,30 @@ +distributable: + url: git+https://github.com/atuinsh/atuin + ref: ${{version.tag}} + +display-name: Atuin + +versions: + github: atuinsh/atuin + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + - cargo install $ARGS + env: + ARGS: + - --path=atuin + - --locked + - --root={{prefix}} + +provides: + - bin/atuin + +test: + script: + - atuin init bash | grep 'Add it to the bash history' + - atuin --version | grep ${{version.tag}} + env: + ATUIN_SESSION: random \ No newline at end of file