Adding build structure for SAND FrameWork on version 3.8.0
This commit is contained in:
parent
b725e80591
commit
7a3cf99bea
|
@ -7,13 +7,17 @@
|
|||
php ./bin/phpDocumentor.phar -d ../application -d ../console -d ../domain --ignore "vendor/*,build/*,data/*,tests/*,console/skel/*,application/modules/*,application/inculde/vues/cache/*" -t ./data/api-docs/
|
||||
|
||||
# PHP MESS DETECTOR
|
||||
php ./bin/phpmd.phar ../ html codesize,design,naming,unusedcode --exclude '*vendor*' --exclude '*tests*' --exclude '*build*' --exclude '*data*' --exclude '*skel*' --exclude '*modules*' --exclude '*cache*' > ./data/phpmd.html
|
||||
php ./bin/phpmd.phar ../ html codesize,naming,unusedcode --exclude '*vendor*' --exclude '*tests*' --exclude '*build*' --exclude '*data*' --exclude '*skel*' --exclude '*modules*' --exclude '*cache*' ./data/phpmd.html
|
||||
php ./bin/phpmd.phar ../ xml codesize,naming,unusedcode --exclude '*vendor*' --exclude '*tests*' --exclude '*build*' --exclude '*data*' --exclude '*skel*' --exclude '*modules*' --exclude '*cache*' ./logs/phpmd.xml
|
||||
|
||||
#CHECKSTYLE OF THE PROJECT
|
||||
./bin/phpcs -p --extensions=php --ignore=*/vendor/*,*/build/*,*/data/*,*/test/*,*/skel/*,*/modules/*,*/cache/*,*/public/* --report-xml=./logs/checkstyle.xml ../
|
||||
|
||||
# CHARTS OF PROJECTS
|
||||
./bin/pdepend --jdepend-chart=data/jdepend-chart.svg --overview-pyramid=data/jdepend-overview.svg --summary-xml=data/jdepend-summary.xml --ignore=vendor,tests,build,data,console/skel,application/modules,application/inculde/vues/cache ../
|
||||
|
||||
# TEXT METRIC OF PROJECT
|
||||
php ./bin/phploc-7.0.2.phar ../ --exclude ../vendor --exclude ../build --exclude ../tests --exclude ../data --exclude ../console/skel --exclude ../application/modules --exclude ../application/include/vues/cache > data/phploc.txt
|
||||
php ./bin/phploc-7.0.2.phar ../ --exclude ../vendor --exclude ../build --exclude ../tests --exclude ../data --exclude ../console/skel --exclude ../application/modules --exclude ../application/include/vues/cache --log-xml logs/phploc.xml > data/phploc.txt
|
||||
|
||||
# DUPLICATED LINES OF PROJECT
|
||||
php ./bin/phpcpd-6.0.3.phar --exclude ../vendor --exclude ../build --exclude ../tests --exclude ../data --exclude ../console/skel --exclude ../application/modules --exclude ../application/include/vues/cache ../ > data/phpcpd.txt
|
||||
|
|
2
build/logs/.gitignore
vendored
Normal file
2
build/logs/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
|
@ -9,7 +9,7 @@
|
|||
<bootstrap/>
|
||||
|
||||
<!-- A phpDox project to process, you can have multiple projects in one config file -->
|
||||
<project name="SAND Framework Application" source="${basedir}/" workdir="${basedir}/.phpdox/xml">
|
||||
<project name="SAND Framework" source="C:\Users\eroy5\PhpstormProjects\DOCKER-LAMP\www\SAND-framework-dev" workdir="${basedir}/.phpdox/xml">
|
||||
<!-- @name - The name of the project -->
|
||||
<!-- @source - The source directory of the application to process -->
|
||||
<!-- @workdir - The directory to store the xml data files in -->
|
||||
|
@ -69,7 +69,7 @@
|
|||
|
||||
<!-- A generation process consists of one or more build tasks and of (optional) enrich sources -->
|
||||
|
||||
<enrich base="${basedir}/data">
|
||||
<enrich base="${basedir}/logs">
|
||||
<!-- @base - (Base-)Directory of datafiles used for enrich process -->
|
||||
|
||||
<!--<source type="...">-->
|
||||
|
@ -81,39 +81,32 @@
|
|||
<!--</source> -->
|
||||
|
||||
<!-- add phploc output -->
|
||||
<!--<source type="phploc" />-->
|
||||
<source type="phploc" />
|
||||
|
||||
<!-- git vcs information -->
|
||||
<!--<source type="git">
|
||||
<git binary="C:\Program Files\Git\cmd\git.exe" />
|
||||
<source type="git">
|
||||
<git binary="git" />
|
||||
<history enabled="true" limit="15" cache="${phpDox.project.workdir}/gitlog.xml" />
|
||||
</source>-->
|
||||
</source>
|
||||
-->
|
||||
|
||||
<!-- PHP Code Sniffer findings -->
|
||||
<!--
|
||||
<source type="phpcs">
|
||||
<file name="logs/phpcs.xml" />
|
||||
<file name="checkstyle.xml" />
|
||||
</source>
|
||||
-->
|
||||
|
||||
|
||||
<!-- PHPMessDetector -->
|
||||
<!--
|
||||
<source type="pmd">
|
||||
<file name="pmd.xml" />
|
||||
<file name="phpmd.xml" />
|
||||
</source>
|
||||
-->
|
||||
|
||||
|
||||
<!-- PHPUnit Coverage XML -->
|
||||
<!-- <source type="phpunit"> -->
|
||||
<!-- <coverage path="" /> -->
|
||||
<source type="phpunit">
|
||||
<coverage path="" />
|
||||
<!-- @path - the directory where the xml code coverage report can be found -->
|
||||
<!--</source>-->
|
||||
<!--
|
||||
<source type="phpunit">
|
||||
<filter directory="${phpDox.project.source}" />
|
||||
</source>
|
||||
-->
|
||||
|
||||
</enrich>
|
||||
|
||||
|
|
Loading…
Reference in a new issue