Set up CI, add format and test scripts.

Remove unused Cargo dependencies.
This commit is contained in:
Jakub Konka
2019-05-07 22:10:49 +02:00
parent aaed8c409a
commit 19a4f00752
8 changed files with 148 additions and 5 deletions

13
format-all.sh Executable file
View 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 -- "$@"