Files
2021-03-13 13:48:21 +08:00

19 lines
352 B
Bash
Raw Permalink 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/sh
DELIVERABLE=$1
while [ "$DELIVERABLE" == "" ]
do
read -p "请输入要build的deliverable名称(exit回车退出):" DELIVERABLE
done
if [ "$DELIVERABLE" != "exit" ]; then
shellpath=`dirname $0`
cd $shellpath/$DELIVERABLE
mvn eclipse:clean
mvn -npu eclipse:eclipse -Dwtpversion=1.0 -DdownloadSources=true
else
echo "exit"
fi
exit 0