-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix/few packaging fixes #469
base: main
Are you sure you want to change the base?
Conversation
@@ -19,16 +19,13 @@ composer-dev.json | |||
composer-dev.lock | |||
.env | |||
|
|||
### PHP Scoper ### | |||
vendor-scoped/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That dir is not supposed to survive the scoping process
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is "flashing" in my IDE file browser just the time the scoping starts. It's annoying to my old eyes :D
Just to be clear I need to be able to build locally for local, prod, preprod etc. Maybe we can add a test config file then build explicitly with it at CI time ? |
My point is prior to any CI consideration there should be an easy way to locally:
And a handy all-in-one command, ex: Step 1 is building and step 2 is bundling, and the last one is optional. |
c6ee081
to
37f804b
Compare
Quality Gate passedIssues Measures |
Changes summary
git clean
config.php
targetQuestions
Makefile: should we keep using
vendor-clean
when we callmake
?Makefile: can we rename
bundle
tobuild
?I see it as a confusing name, in particular with the "zip" artefact. In fact there is a
BUNDLE
section withBUNDLE_ZIP
. I would rather prefer to speak about "build" when you gather all deps, and bundle when you roll up them altogether, as a zip archive.Makefile the "config.php" file is essential to make the project work. However there is no creation of such file when calling
make
with a cleaned project. Furthermore this seems to be used in a complex docker-only process:I guess removing the .PHONY and letting build the config file from
make
is a better choice. Do we need a distinct configuration file than default for a docker test?