version=0.0.0
commit="none"
name=${phing.project.name}
summary="Summary"
author.name="Himanshu Koshti"
author.email="himanshu.koshti@brainvire.com"
author.username="himanshu.koshti"
description="Description last commit ${commit}"
dir.output=${project.basedir}/build
dir.tmp=${dir.output}/tmp
dir.src=${project.basedir}/app
dir.vendor=${project.basedir}/vendor
dir.vendor.bin=${dir.vendor}/bin
dir.vendor.php=${dir.vendor}/php
phing=/usr/bin/phing -Dversion=${version} -Dcommit=${commit}
;phing=${dir.vendor.bin}/phing
package.output.dir=${dir.output}
php.exec=${php.bin} ${php.args}
php.args=-c ${php.ini} -d include_path=${dir.vendor.php}:${dir.vendor.php}/log4php
pear.cfg=${dir.vendor}/.pearrc
defaultpear.exec=${defaultpear.bin} -c ${pear.cfg}
pear.exec=/usr/bin/pear -c ${pear.cfg}

phpcs.exec=/usr/bin/phpcs
phpcs.output=${dir.output}/php-cs
phpcs.output.html.dir=${phpcs.output}/html
phpcs.output.html.file=${phpcs.output.html.dir}/index.html
phpcs.output.xml.dir=${phpcs.output}
phpcs.output.xml.file=${phpcs.output.xml.dir}/php-cs.xml
phpcs.style=ci-resources/checkstyle.xsl
phpcs.args=--report=checkstyle --report-file=${phpcs.output.xml.file} --standard=psr2 --extensions=php --ignore=.git/,doc/,ci-resources/,build ${dir.src}


junit.output.xml.dir=${phpunit.output}
junit.output.xml.file=${junit.output.xml.dir}/junit.xml
junit.style=ci-resources/phpunit_to_surefire.xslt
phpunit.exec=/usr/local/bin/phpunit
phpunit.output=${dir.output}/php-unit
phpunit.output.html.dir=${phpunit.output}/html
phpunit.output.xml.dir=${phpunit.output}
phpunit.output.xml.file=${phpunit.output.xml.dir}/php-unit.xml
phpunit.output.cloverxml.file=${phpunit.output.xml.dir}/cloverxml.xml
phpunit.args=--repeat 1  --debug --verbose --configuration ${project.basedir}/phpunit.xml --log-junit ${phpunit.output.xml.file} --coverage-html ${phpunit.output.html.dir} --coverage-clover ${phpunit.output.cloverxml.file} --verbose

phar=${name}-${version}-${commit}.phar
genphar.exec=${php.exec} ci-resources/generatePhar.php
genphar.args=${package.output.dir}/${phar} ${dir.src}
peartgz=${name}-${version}.tgz

genpear.exec=${php.exec} ci-resources/generatePackageXml.php ${name} ${summary} ${description} ${version} ${author.name} ${author.email} ${author.username}


phpdepend.exec=/usr/bin/pdepend
phpdepend.output=${dir.output}/php-depend
phpdepend.output.html.dir=${phpdepend.output}/html
phpdepend.output.html.file=${phpdepend.output.html.dir}/index.html
phpdepend.output.xml.dir=${phpdepend.output}
phpdepend.output.xml.file=${phpdepend.output.xml.dir}/php-depend.xml
phpdepend.style=ci-resources/pdepend.xsl
phpdepend.args=--jdepend-xml=${phpdepend.output.xml.file} --jdepend-chart=${phpdepend.output.html.dir}/pdepend.svg --ignore=.git,tests/ --overview-pyramid=${phpdepend.output.html.dir}/pyramid.svg ${dir.src}


phpmd.exec=/usr/bin/phpmd
phpmd.output=${dir.output}/php-md
phpmd.output.html.dir=${phpmd.output}/html
phpmd.output.html.file=${phpmd.output.html.dir}/index.html
phpmd.output.xml.dir=${phpmd.output}
phpmd.output.xml.file=${phpmd.output.xml.dir}/php-md.xml
phpmd.style=ci-resources/pmd.xslt
phpmd.args=${dir.src} xml rulesets/codesize.xml,rulesets/unusedcode.xml,rulesets/naming.xml --extensions php --reportfile ${phpmd.output.xml.file}

phpcpd.exec=/usr/bin/phpcpd
phpcpd.output=${dir.output}/php-cpd
phpcpd.output.html.dir=${phpcpd.output}/html
phpcpd.output.html.file=${phpcpd.output.html.dir}/index.html
phpcpd.output.xml.dir=${phpcpd.output}
phpcpd.output.xml.file=${phpcpd.output.xml.dir}/php-cpd.xml
phpcpd.style=ci-resources/cpd.xslt
phpcpd.args=--log-pmd ${phpcpd.output.xml.file} --verbose ${dir.src}


phploc.exec=/usr/bin/phploc
phploc.output=${dir.output}/php-loc
phploc.output.html.dir=${phploc.output}/html
phploc.output.html.file=${phploc.output.html.dir}/phploc.txt
phploc.args=${dir.src}
