mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(lsd)
This commit is contained in:
parent
4cf703ac06
commit
90f097fe71
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue