cubic/scripts/build.sh
2020-05-19 17:46:18 +08:00

22 lines
624 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 ================"
#打包proxy
echo "================ starting to build cubic proxy ================"
#mvn clean package -am -pl bistoury-proxy -Pprod -Dmaven.test.skip=true -Denforcer.skip=true
echo "================ building cubic proxy finished ================"