From: Tim Otten Date: Mon, 11 Mar 2013 02:35:17 +0000 (-0400) Subject: gitify - Automatically run GenCode on new installs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e29a638a8a28423cd3e893bfd92d2adb8f64c03c;p=civicrm-core.git gitify - Automatically run GenCode on new installs --- diff --git a/bin/gitify b/bin/gitify index 825cc89461..f905d00eba 100755 --- a/bin/gitify +++ b/bin/gitify @@ -55,6 +55,9 @@ function check_dep() { echo "command not found: git" exit fi + if [ -z `which php` ]; then + echo "command not found: php" + fi } #### Main #### @@ -116,3 +119,12 @@ esac if [ "$CIVICRM_L10N" == "--l10n" ]; then do_svnify "http://svn.civicrm.org/l10n/trunk" "$CIVICRM_ROOT/l10n" fi + +pushd "$CIVICRM_ROOT/xml" > /dev/null +if [ -f "GenCode.php" ]; then + echo "[[Generate files]]" + php GenCode.php +else + echo "[[Skip \"Generate files\"]]" +fi +popd > /dev/null