Skip to content

Commit f44147b

Browse files
committed
[-]: remove the build folder (better create from composer scripts)
1 parent 23a6e0c commit f44147b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ composer.phar
1212
phpunit.phar
1313
/phpunit.xml
1414
.phpunit.result.cache
15+
/build
1516

1617

1718
# --------------------------------------------
@@ -20,6 +21,12 @@ phpunit.phar
2021
/phpcs.xml
2122

2223

24+
# --------------------------------------------
25+
# Local PHPMD Config.
26+
# --------------------------------------------
27+
/phpmd.xml
28+
29+
2330
# --------------------------------------------
2431
# IDE Files.
2532
# --------------------------------------------

build/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,24 @@
6767
],
6868

6969
"scripts": {
70-
7170
"check": [
7271
"@cs-check",
7372
"@tests"
7473
],
7574

7675
"generate-reports": [
76+
"@create-folders",
7777
"@cs-report",
7878
"@phpmd-report",
7979
"@tests-report-html",
8080
"@tests-report-xml",
8181
"@tests-report-clover"
8282
],
8383

84+
"create-folders": [
85+
"mkdir build"
86+
],
87+
8488
"cs-check": "phpcs",
8589
"cs-fix": "phpcbf",
8690
"phpmd": "phpmd src text phpmd.xml.dist",

0 commit comments

Comments
 (0)