mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
c0973b0a46
commit
992595929b
1 changed files with 11 additions and 9 deletions
|
@ -50,12 +50,14 @@ test:
|
|||
dependencies: #FIXME brewkit should add companions to the test env
|
||||
git-scm.org: ^2
|
||||
rust-lang.org: '*'
|
||||
script: |
|
||||
cargo init . --name xyz_tea_fixture
|
||||
echo 'fn main() {println!("Hello World!");}' >src/main.rs
|
||||
cargo clippy
|
||||
cargo run
|
||||
cargo run --release
|
||||
cargo install cowsay
|
||||
test -x ~/.local/bin/cowsay
|
||||
~/.local/bin/cowsay xyz.tea.hi
|
||||
script:
|
||||
- cargo init . --name xyz_tea_fixture
|
||||
- echo 'fn main() {println!("Hello World!");}' >src/main.rs
|
||||
- cargo clippy
|
||||
- cargo run
|
||||
- cargo run --release
|
||||
# use our $HOME
|
||||
- export CARGO_INSTALL_ROOT=$HOME/.local
|
||||
- cargo install cowsay
|
||||
- test -x ~/.local/bin/cowsay
|
||||
- ~/.local/bin/cowsay xyz.tea.hi
|
||||
|
|
Loading…
Reference in a new issue