Multi rust projects (#4362)

This commit is contained in:
Jack May
2019-05-21 11:22:33 -07:00
committed by GitHub
parent c9ba9e4eb7
commit 28f948aa7f
15 changed files with 132 additions and 35 deletions

16
sdk/bpf/rust-utils/clean.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
if [ "$#" -ne 1 ]; then
echo "Error: Must provide the full path to the project to build"
exit 1
fi
if [ ! -d "$1" ]; then
echo "Error: Cannot find project: $1"
exit 1
fi
cd "$1"
set -ex
cargo clean