-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to run composer install before make the dist archive? #97
Comments
Since it's just a fancy way of making a zip file, there isn't really any special way for doing that.
|
This will also include the package which is not needed in production. So to avoid this, you can use separate folder as base folder to archive. |
Obviously I was thinking in the same command |
WP-CLI is all about composability. If you want to run composer before zipping, then run composer before dist-archive. Why doesn't that work for you? |
I added dist archive as composer dev dependency. That is why. |
No problem, thanks. I concatenate the command, and it working fine.
|
Hello!
I love this command and I'm using a lot.
I'd need run composer before makes the dist archive. How could approach that?
The text was updated successfully, but these errors were encountered: