12 lines
220 B
Bash
12 lines
220 B
Bash
|
#!/bin/bash -e
|
||
|
|
||
|
cd $(dirname $0)/..
|
||
|
|
||
|
source $HOME/.cargo/env
|
||
|
rustup component add rustfmt-preview
|
||
|
cargo fmt -- --write-mode=diff
|
||
|
cargo build --verbose --features unstable
|
||
|
cargo test --verbose --features unstable
|
||
|
|
||
|
exit 0
|