From 5e294cb92bc82a9df6920e08d69b8672a66be0f1 Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Wed, 26 Feb 2014 07:51:37 -0500 Subject: [PATCH] adding the update script, use it only in Dev stage --- build-vendor.php | 1 - update | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 update diff --git a/build-vendor.php b/build-vendor.php index 4d5b81abb..8ce968286 100644 --- a/build-vendor.php +++ b/build-vendor.php @@ -97,7 +97,6 @@ $jsFiles = array ( "workflow/public_html/lib/pmUI/pmui.min.js", "workflow/public_html/lib/mafe/mafe.min.js", "workflow/public_html/lib/mafe/designer.min.js", - "workflow/public_html/lib/js/tiny_mce.min.js", "gulliver/js/tinymce/jscripts/tiny_mce/tiny_mce.js", "gulliver/js/tinymce/jscripts/tiny_mce/plugins/pmGrids/editor_plugin.js", diff --git a/update b/update new file mode 100755 index 000000000..62821f1a9 --- /dev/null +++ b/update @@ -0,0 +1,26 @@ + +echo "

Michelangelo Update

Changelog Processmaker

" > temp.txt + +git pull +git log -n 20 --relative-date --graph --format=short >> temp.txt + + + +cd vendor/colosa/pmUI +echo "

Changelog pmUI


" >> ../../../temp.txt +git pull +git log -n 20 --relative-date --graph --format=short >> ../../../temp.txt + +cd ../MichelangeloFE +echo "

Changelog MichelangeloFE


" >> ../../../temp.txt +git pull +git log -n 20 --relative-date --graph --format=short >> ../../../temp.txt + + +cd ../../../ +echo "

build-vendor.php


" >> temp.txt +php build-vendor.php >> temp.txt + +sed ':a;N;$!ba;s/\n/
/g' temp.txt > workflow/public_html/build-log.html + +echo "update executed succesfully, check the log in http:///build-log.html "