-
Notifications
You must be signed in to change notification settings - Fork 0
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
-lite target should exclude Pro-only files #73
Comments
Also noting here that once this work has been completed, we can update the projects that are using the Lite target (e.g., Comet Cache and Comment Mail) and simplify their Right now we're using |
Next Release Changelog:
|
@jaswsinc I'm wondering if we should change
and
I can make these changes and submit another PR if you agree. |
@jaswsinc I'm about to update the Comet Cache Pro-only files with this marker in preparation for publishing an RC—I just wanted to see if you agreed with changing the name or if you'd rather stick with |
Agree. I like |
Hmm, how would that work? Apply two regexes to the file in succession, one for each? |
Something like this maybe. <containsregexp expression="\/\*\!?\[pro (?:exclude|strip)\-file\-from\=['"]lite['"]\]\*\/" /> |
🤦 Right, of course. |
These are now excluded via the /*[pro exclude-file-from="lite"]*/ marker that Phing looks for while building the Lite version. See wpsharks/phings#73
The idea is to be able to add a new flag,
/*[pro strip-file-from="lite"]*/
, to the top of any files that are Pro-only files that should not be included in the generated Lite version.Then, we can update the
lite.xml
target to include the following right after copying the Pro files to the Lite staging area:Jason and I have been discussing this issue a lot on Slack; see https://websharks.slack.com/archives/phings/p1460243931000102 for more details.
Also noting that this Comet Cache issue depends on Phings being updated to exclude Pro-only files: wpsharks/comet-cache#709
The text was updated successfully, but these errors were encountered: