batch build

pull/455/head
skiffer-git 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 448cdddc80
commit 3f313a40d2

@ -30,7 +30,7 @@ for ((i = 0; i < ${#service_source_root[*]}; i++)); do
cd $service_path cd $service_path
make install & make install &
build_pid=$! build_pid=$!
build_pid_array[i]=build_pid build_pid_array[i]=$build_pid
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "${RED_PREFIX}${service_names[$i]} build failed ${COLOR_SUFFIX}\n" echo -e "${RED_PREFIX}${service_names[$i]} build failed ${COLOR_SUFFIX}\n"
exit -1 exit -1

Loading…
Cancel
Save