diff --git a/build.php b/build.php index 18933f2..203f246 100755 --- a/build.php +++ b/build.php @@ -8,6 +8,11 @@ * @license Creative Commons Attribution-NonCommercial-ShareAlike * @package be.bastelstu.wcf.chat */ +$packageXML = file_get_contents('package.xml'); +preg_match('/(.*?)<\/version>/', $packageXML, $matches); +echo "Building Tims Chat $matches[1]\n"; +echo str_repeat("=", strlen("Building Tims Chat $matches[1]"))."\n"; + echo <<