Renamed docs and tests directories.

This commit is contained in:
alext 2018-11-03 15:20:51 +01:00
parent b33474761e
commit f551bcfd73
43 changed files with 13 additions and 14 deletions

6
.gitignore vendored
View File

@ -2,9 +2,9 @@
/.idea/
/.tmp-package/
/build/
/doc/apigen/html
/doc/jsdoc/html
/doc/plato/html
/docs/apigen/html
/docs/jsdoc/html
/docs/plato/html
/docker/.env*
!/docker/.env.example
/node_modules/

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -86,21 +86,21 @@ gulp.task('build', function(done) {
* Generate code documentation.
*/
gulp.task('doc', function(done) {
fs.removeSync('doc/apigen/html');
fs.mkdirSync('doc/apigen/html');
fs.removeSync('doc/jsdoc/html');
fs.mkdirSync('doc/jsdoc/html');
fs.removeSync('doc/plato/html');
fs.mkdirSync('doc/plato/html');
fs.removeSync('docs/apigen/html');
fs.mkdirSync('docs/apigen/html');
fs.removeSync('docs/jsdoc/html');
fs.mkdirSync('docs/jsdoc/html');
fs.removeSync('docs/plato/html');
fs.mkdirSync('docs/plato/html');
const commands = [
'php doc/apigen/apigen.phar generate ' +
'php docs/apigen/apigen.phar generate ' +
'-s "src/application/controllers,src/application/models,src/application/libraries" ' +
'-d "doc/apigen/html" --exclude "*external*" --tree --todo --template-theme "bootstrap"',
'-d "docs/apigen/html" --exclude "*external*" --tree --todo --template-theme "bootstrap"',
path.join('.', 'node_modules', '.bin', 'jsdoc') + ' "src/assets/js" -d "doc/jsdoc/html"',
path.join('.', 'node_modules', '.bin', 'plato') + ' -r -d "doc/plato/html" "src/assets/js"'
path.join('.', 'node_modules', '.bin', 'plato') + ' -r -d "docs/plato/html" "src/assets/js"'
];
commands.forEach(function(command) {

View File

@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="test/php/bootstrap.php"
bootstrap="tests/phpunit/bootstrap.php"
cacheTokens="false"
colors="false"
convertErrorsToExceptions="true"
@ -28,5 +28,4 @@
<directory suffix=".php">src/engine</directory>
</whitelist>
</filter>
</phpunit>