cubic/scripts/build.sh
2020-06-03 17:01:03 +08:00

19 lines
347 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
cd "${0%/*}"
cd ..
mvn -v
if [ $? -ne 0 ]; then
echo "command mvn not found, Install the maven before executing the script"
exit 0;
fi
#打包agent
echo "================ starting to build cubic agent ================"
./mvnw package -DskipTests
echo "================ building cubic agent finished ================"