瀏覽代碼

Add helpful time text around platform builds

Joshua Boniface 6 年之前
父節點
當前提交
e30cf63aef
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      build

+ 3 - 0
build

@@ -191,6 +191,7 @@ popd
 pushd deployment/
 pushd deployment/
 for target_platform in ${platform[@]}; do
 for target_platform in ${platform[@]}; do
     echo -e "> Processing platform ${target_platform}"
     echo -e "> Processing platform ${target_platform}"
+    date_start=$( date +%s )
     pushd ${target_platform}
     pushd ${target_platform}
     for target_action in ${action[@]}; do
     for target_action in ${action[@]}; do
         echo -e ">> Processing action ${target_action}"
         echo -e ">> Processing action ${target_action}"
@@ -209,6 +210,8 @@ for target_platform in ${platform[@]}; do
             ./clean.sh 
             ./clean.sh 
         fi
         fi
     fi
     fi
+    date_end=$( date +%s )
+    echo -e "> Completed platform ${target_platform} in $( expr ${date_end} - ${date_start} ) seconds."
     popd
     popd
 done
 done
 popd
 popd