+starship (#105)

* +starship

Adds the Starship prompt.

* fix test
This commit is contained in:
John Allen 2023-01-14 13:25:17 -05:00 committed by Max Howell
parent ed90d40fd1
commit 9ae81d89e6
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -0,0 +1,22 @@
distributable:
url: https://github.com/starship/starship/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/starship
versions:
github: starship/starship/tags
strip: /v/
build:
dependencies:
cmake.org: ">=3.5"
tea.xyz/gx/make: "*"
rust-lang.org: ">=1.60"
rust-lang.org/cargo: "*"
script: cargo install --locked --path . --root {{prefix}}
test:
script: |
starship --version