Set up CI, add format and test scripts.
Remove unused Cargo dependencies.
This commit is contained in:
13
format-all.sh
Executable file
13
format-all.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Format all sources using rustfmt.
|
||||
# This script borrows heavily from CraneStation/wasmtime project.
|
||||
|
||||
topdir=$(dirname "$0")
|
||||
cd "$topdir"
|
||||
|
||||
# Make sure we can find rustfmt.
|
||||
export PATH="$PATH:$HOME/.cargo/bin"
|
||||
|
||||
exec cargo +stable fmt --all -- "$@"
|
||||
Reference in New Issue
Block a user