-
Notifications
You must be signed in to change notification settings - Fork 397
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
Document how to modify deploy excludes #237
Comments
@sarahjean and I were talking about this and we think there's a bit more to this than just editing the
I can assist with this since it bit me very recently. |
So it looks to me like this is the intended method:
Haven't fully tested yet and could be off base with some of my assumptions. |
Yes that is intention. Vendor should not be copied since it contains dev dependencies and should be rebuilt dynamically prior to deployment. |
Ok, so it sounds like what Sarah is highlighting above simply needs to be better documented. I spent way too long trying to resolve why BLT wasn't building my whole build. I'll issue a PR for this ASAP. |
@grasmash For further context, the type of issue that @webkenny and I were both running into (on separate projects) was that in some of the libraries we were pulling in there were directories named vendor that did need pulled in, where the intent of the deploy-exclude.txt vendor is to exclude specifically the composer vendor directory. There's also a line for |
In that case, ignore /vendor but not vendor. |
…or directories; not just the root.
@webkenny There are two commands that run during the creation of the deployment artifact that we must consider.
My understanding of this issue is that we need to copy (rsync) all vendor dirs except for the root
|
Fantastic, @grasmash. I'll get this fixed up and resubmitted. Great feedback. |
No description provided.
The text was updated successfully, but these errors were encountered: