forked from mirrors/easyappointments
Renamed docs and tests directories.
This commit is contained in:
parent
b33474761e
commit
f551bcfd73
43 changed files with 13 additions and 14 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -2,9 +2,9 @@
|
||||||
/.idea/
|
/.idea/
|
||||||
/.tmp-package/
|
/.tmp-package/
|
||||||
/build/
|
/build/
|
||||||
/doc/apigen/html
|
/docs/apigen/html
|
||||||
/doc/jsdoc/html
|
/docs/jsdoc/html
|
||||||
/doc/plato/html
|
/docs/plato/html
|
||||||
/docker/.env*
|
/docker/.env*
|
||||||
!/docker/.env.example
|
!/docker/.env.example
|
||||||
/node_modules/
|
/node_modules/
|
||||||
|
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
18
gulpfile.js
18
gulpfile.js
|
@ -86,21 +86,21 @@ gulp.task('build', function(done) {
|
||||||
* Generate code documentation.
|
* Generate code documentation.
|
||||||
*/
|
*/
|
||||||
gulp.task('doc', function(done) {
|
gulp.task('doc', function(done) {
|
||||||
fs.removeSync('doc/apigen/html');
|
fs.removeSync('docs/apigen/html');
|
||||||
fs.mkdirSync('doc/apigen/html');
|
fs.mkdirSync('docs/apigen/html');
|
||||||
fs.removeSync('doc/jsdoc/html');
|
fs.removeSync('docs/jsdoc/html');
|
||||||
fs.mkdirSync('doc/jsdoc/html');
|
fs.mkdirSync('docs/jsdoc/html');
|
||||||
fs.removeSync('doc/plato/html');
|
fs.removeSync('docs/plato/html');
|
||||||
fs.mkdirSync('doc/plato/html');
|
fs.mkdirSync('docs/plato/html');
|
||||||
|
|
||||||
const commands = [
|
const commands = [
|
||||||
'php doc/apigen/apigen.phar generate ' +
|
'php docs/apigen/apigen.phar generate ' +
|
||||||
'-s "src/application/controllers,src/application/models,src/application/libraries" ' +
|
'-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', '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) {
|
commands.forEach(function(command) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
||||||
backupGlobals="true"
|
backupGlobals="true"
|
||||||
backupStaticAttributes="false"
|
backupStaticAttributes="false"
|
||||||
bootstrap="test/php/bootstrap.php"
|
bootstrap="tests/phpunit/bootstrap.php"
|
||||||
cacheTokens="false"
|
cacheTokens="false"
|
||||||
colors="false"
|
colors="false"
|
||||||
convertErrorsToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
|
@ -28,5 +28,4 @@
|
||||||
<directory suffix=".php">src/engine</directory>
|
<directory suffix=".php">src/engine</directory>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in a new issue