This commit is contained in:
Jacob Heider 2024-03-22 13:21:55 -04:00
parent 4cf703ac06
commit 90f097fe71
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -15,6 +15,12 @@ build:
dependencies:
rust-lang.org: '>=1.60'
rust-lang.org/cargo: '*'
script: cargo install --path . --root {{prefix}}
script:
# this was missed in 1.1.0
- sed -i 's/^version = "1\.0\.0"$/version = "{{version}}"/' Cargo.toml
- cargo install --path . --root {{prefix}}
test: test "$(lsd --oneline)" = "xyz.tea.test.sh"
test:
- test "$(lsd --version)" = "lsd {{version}}"
- touch testfile
- test "$(lsd --oneline)" = "testfile"