Skip to content

Commit

Permalink
feat: clean script
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Sep 6, 2023
1 parent 62c98a8 commit 5ad0a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"clean": "rm -rf bin clover.html node_modules vendor *.cache .*.cache bootstrap/cache/*.php",
"coverage": "XDEBUG_MODE=coverage ./bin/phpunit --coverage-html clover.html --coverage-clover clover.xml",
"fix": "./bin/phpcbf --standard=./node_modules/justintime50-styles/src/php/phpcs.xml .",
"lint": "./bin/phpcs --standard=./node_modules/justintime50-styles/src/php/phpcs.xml .",
Expand Down
4 changes: 4 additions & 0 deletions src/justfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Clean the project
clean:
composer clean

# Run a coverage report
coverage:
composer coverage
Expand Down

0 comments on commit 5ad0a30

Please sign in to comment.