12 lines
220 B
Bash
Executable File
12 lines
220 B
Bash
Executable File
#!/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
|