projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042942d
)
gitify - Automatically run GenCode on new installs
author
Tim Otten
<totten@civicrm.org>
Mon, 11 Mar 2013 02:35:17 +0000
(22:35 -0400)
committer
Tim Otten
<totten@civicrm.org>
Mon, 11 Mar 2013 02:35:17 +0000
(22:35 -0400)
bin/gitify
patch
|
blob
|
blame
|
history
diff --git
a/bin/gitify
b/bin/gitify
index 825cc89461e98db4a1c542b96b71be78b02db7ad..f905d00eba32aa37731c41641e4473c18cc86f4b 100755
(executable)
--- 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