diff --git a/build-vendor.php b/build-vendor.php index 8ce968286..d391f103e 100644 --- a/build-vendor.php +++ b/build-vendor.php @@ -44,6 +44,7 @@ $projects = array( 'colosa/pmUI' ); + out("build-vendor.php", 'purple'); @@ -54,6 +55,7 @@ out(" mode", 'purple'); foreach ($projects as $project) { echo PHP_EOL; out("=> Building project: ", 'info', false); + $output = array(); echo $project.' '.PHP_EOL; chdir($vendorDir.DS.$project); if ($debug) { diff --git a/update b/update index 62821f1a9..08ff44370 100755 --- a/update +++ b/update @@ -2,19 +2,19 @@ echo "
" > temp.txt
git pull
-git log -n 20 --relative-date --graph --format=short >> temp.txt
+git log -n 30 --relative-date --graph --format=medium --no-merges >> temp.txt
cd vendor/colosa/pmUI
echo "" >> ../../../temp.txt
git pull
-git log -n 20 --relative-date --graph --format=short >> ../../../temp.txt
+git log -n 30 --relative-date --graph --format=medium --no-merges >> ../../../temp.txt
cd ../MichelangeloFE
echo "" >> ../../../temp.txt
git pull
-git log -n 20 --relative-date --graph --format=short >> ../../../temp.txt
+git log -n 30 --relative-date --graph --format=medium --no-merges >> ../../../temp.txt
cd ../../../
@@ -23,4 +23,23 @@ php build-vendor.php >> temp.txt
sed ':a;N;$!ba;s/\n/
/g' temp.txt > workflow/public_html/build-log.html
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#\[0;35;35m##g' temp.txt > workflow/public_html/build-log.html
+
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#\[1;33;34m##g' temp.txt > workflow/public_html/build-log.html
+
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#\[0;35;32m##g' temp.txt > workflow/public_html/build-log.html
+
+
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#\[31m\[32m##g' temp.txt > workflow/public_html/build-log.html
+
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#\[0m##g' temp.txt > workflow/public_html/build-log.html
+
+cp workflow/public_html/build-log.html temp.txt
+sed -re 's#Author:(.*)\n#xxxx(1)#g' temp.txt > workflow/public_html/build-log.html
+
echo "update executed succesfully, check the log in http:///build-log.html "