$generator->
generateData($config);
echo "Resource bundle compilation complete.\n";
$gitInfo = <<<GIT_INFO
Git information
===============
URL: {
$git->
getUrl()}
Revision: {
$git->
getLastCommitHash()}
Author: {
$git->
getLastAuthor()}
Date: {
$git->
getLastAuthoredDate()->
format('c'
)}
GIT_INFO;
$gitInfoFile =
$dataDir.'/git-info.txt';
file_put_contents($gitInfoFile,
$gitInfo);
echo "Wrote
$gitInfoFile.\n";
$versionFile =
$dataDir.'/version.txt';