Skip to content

Commit

Permalink
CI fix: Added new commands for setting up
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchikikomori committed Oct 16, 2023
1 parent 95d1cd1 commit e4cc399
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@
"post-autoload-dump": [
"php -r \"file_exists('configs/system.php') || copy('configs/system.php.example', 'configs/system.php');\"",
"php -r \"file_exists('configs/database.php') || copy('configs/database.php.example', 'configs/database.php');\"",
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"composer run nodejs"
],
"lint": [
"./vendor/bin/phpcs classes libraries error.php forgotpassword.php index.php multiuser.php register.php"
"./vendor/bin/phpcs classes/ libraries/ *.php"
],
"lintfix": [
"./vendor/bin/phpcbf classes/ libraries/ *.php"
],
"nodejs": [
"npm install"
]
}
}
4 changes: 3 additions & 1 deletion debug.php
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<?php xdebug_info(); ?>
<?php

xdebug_info();

0 comments on commit e4cc399

Please sign in to comment.