Skip to content

Commit 388e0c5

Browse files
committed
as BOX dump-autoload setting should be disabled, we must add directories manually for PHAR distribution
1 parent 2cb4d82 commit 388e0c5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

box.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"force-autodiscovery": true,
1313
"dump-autoload": false,
1414
"exclude-dev-files": false,
15+
"directories": [
16+
"bin",
17+
"src",
18+
"vendor"
19+
],
1520
"files": [
1621
"autoload.php",
1722
"phplint.php"

box.json.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"force-autodiscovery": true,
1313
"dump-autoload": false,
1414
"exclude-dev-files": false,
15+
"directories": [
16+
"bin",
17+
"src",
18+
"vendor"
19+
],
1520
"files": [
1621
"autoload.php",
1722
"phplint.php"

0 commit comments

Comments
 (0)