Re-org SDK dir (#4690)
This commit is contained in:
17
sdk/bpf/rust/clean.sh
Executable file
17
sdk/bpf/rust/clean.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Error: Must provide the full path to the project to build"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f "$1/Cargo.toml" ]; then
|
||||
echo "Error: Cannot find project: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$1"
|
||||
|
||||
set -e
|
||||
|
||||
echo "Cleaning $1"
|
||||
cargo clean
|
Reference in New Issue
Block a user