Add the rest of the Rust projects to the build tool #53

Merged
savanni merged 13 commits from add-projects-to-build-tool into main 2023-08-07 22:42:23 +00:00
1 changed files with 6 additions and 3 deletions
Showing only changes of commit ab33db4a22 - Show all commits

View File

@ -17,17 +17,20 @@ case $CMD in
test) test)
$CARGO test $MODULE $PARAMS $CARGO test $MODULE $PARAMS
;; ;;
run)
$CARGO run $MODULE $PARAMS
;;
release) release)
$CARGO build --release $MODULE $PARAMS $CARGO run --release $MODULE $PARAMS
;; ;;
clean) clean)
$CARGO clean $MODULE $CARGO clean $MODULE
;; ;;
"") "")
echo "No command specified. Use build | test | release | clean" echo "No command specified. Use build | test | run | release | clean"
;; ;;
*) *)
echo "$CMD is unknown. Use build | test | release | clean" echo "$CMD is unknown. Use build | test | run | release | clean"
;; ;;
esac esac