mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
have cargo install
go to ~/.local/bin
This commit is contained in:
parent
ac607119e1
commit
bde31f1fff
1 changed files with 11 additions and 1 deletions
|
@ -8,10 +8,17 @@ versions:
|
|||
provides:
|
||||
- bin/cargo
|
||||
|
||||
runtime:
|
||||
env:
|
||||
CARGO_INSTALL_ROOT: ${{env.HOME}}/.local
|
||||
|
||||
dependencies:
|
||||
git-scm.org: 2
|
||||
rust-lang.org: '*'
|
||||
openssl.org: ^1 # cargo needs the certs
|
||||
#TODO curl.se: ^8
|
||||
zlib.net: ^1
|
||||
#TODO ^^ prevent vendoring by requiring these: libssh2.org & libgit2.org
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
|
@ -51,4 +58,7 @@ test:
|
|||
echo 'fn main() {println!("Hello World!");}' >src/main.rs
|
||||
cargo clippy
|
||||
cargo run
|
||||
cargo run --release
|
||||
cargo run --release
|
||||
cargo install cowsay
|
||||
test -x ~/.local/bin/cowsay
|
||||
~/.local/bin/cowsay xyz.tea.hi
|
||||
|
|
Loading…
Reference in a new issue