-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
In my finalizePackagedAssets handler I have this and wondering if it's generally useful enough to include in the packager. I have a use case for the icon picker which is an ide widget that is not listed in the extensions on the standalone settings. You can add it manually the correct key in the custom prop but then if you go and add a different inclusion in standalone settings you lose it. Anyway I like to reduce opaque binary file changes wherever I can.
I have pondered if this should also merge up from the build profile/all profiles key so you can have different settings for different profiles but not sure I have a use case for that myself.
/* Update standalone settings with those in the app.yml. */
local tSettingsD, tSettingsToMergeD
put the customProperties["cRevStandaloneSettings"] \
of stack levureStandaloneStackName() \
into tSettingsD
put xAppA["standalone settings"] into tSettingsToMergeD
repeat for each item tKey in "extensions,scriptLibraries,externals"
split tSettingsD[tKey] by return as set
split tSettingsToMergeD[tKey] by return as set
end repeat
union tSettingsToMergeD with tSettingsD recursively into tSettingsD
repeat for each item tKey in "extensions,scriptLibraries,externals"
combine tSettingsD[tKey] with return as set
end repeat
set the customProperties["cRevStandaloneSettings"] \
of stack levureStandaloneStackName() \
to tSettingsD
Metadata
Metadata
Assignees
Labels
No labels