Skip to content

Commit bcedbaf

Browse files
committed
Reword pitfall
1 parent 53c0fb3 commit bcedbaf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,19 +168,21 @@ Compile it (Oops... one Unknown File Object has not been included)
168168
phpcc -e bin/acme.php -f bin/acme.php -d src/ -o bin/acme
169169
```
170170

171-
Guess what ?
171+
Launching the `bin/acme` compiled archive should raise an error because of the missing file.
172172

173-
If the `bin/acme` compiled archive stays in its place, it won't fail, because `lib/Ufo.php` can still be found from its point of view.
173+
Well...not. What happens here then ?
174+
175+
If the `bin/acme` compiled archive stays in its place,the `lib/Ufo.php` can still be found from its point of view.
174176

175177
### Size too big
176178

177179
Many projects include some dev libraries, for unit test, local data seeding or code inspection.
178180

179181
Fact is, some of those libs have **A LOT** of dependencies... Hence the `vendor` directory, which is usually included in the archive is really **HUGE**.
180182

181-
Q: How do we remediate then ?
183+
Q: How to remediate then ?
182184

183-
A: Before compiling, we ensure the `vendor` directory does not contains any dev library:
185+
A: Before compiling, ensure the `vendor` directory does not contains any dev library:
184186

185187
```
186188
composer install --no-dev

0 commit comments

Comments
 (0)