cubic/scripts/build.sh
2020-05-19 18:23:57 +08:00

19 lines
377 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 ================"
mvn clean package -Dmaven.test.skip -Denforcer.skip=true
echo "================ building cubic agent finished ================"