Skip to content

The Unified and Autonomous Development Platform

chore: Add more convenient commands to dev.sh

Robin Shenb31fb61ad4aa
diff --git a/dev.sh b/dev.sh
index 53ae539f16..bb5e6294f9 100755
--- a/dev.sh
+++ b/dev.sh
@@ -151,6 +151,8 @@ usage() {
echo "Commands:"
echo " run Start the dev server and hot-load rebuilt classes; restart if hot loading fails"
echo " build Build with Maven when needed, otherwise compile changed files with ECJ"
+ echo " test Run tests with Maven"
+ echo " install Install project artifacts with Maven"
echo " clean Clean build outputs with Maven"
}
@@ -170,6 +172,16 @@ case "$1" in
run_maven clean "$@"
exit
;;
+ install)
+ shift
+ run_maven install "$@"
+ exit
+ ;;
+ test)
+ shift
+ run_maven test "$@"
+ exit
+ ;;
run)
shift
;;