@kgambill wrote:
Is there any support in MGCB / Pipeline Tool for automatically adding copy-action files via wildcard? I have a folder of script files (.lua) which I'd like added to my Content.mgcb file so I can utilize the copying action from our raw asset directory to our build directory. Looking at the mgcb file, these files are added in a pretty simple manner:
#begin ../../../assets/scripts/ui/somefile.lua /copy:../../../assets/scripts/ui/somefile.lua;scripts/somefile.lua
However adding these files manually would be very tedious. Is there a way to automatically include all files of type lua in the scripts/ui directory, and simply have their asset name stay the same as whatever the actual file name is?
Not the end of the world if not, I will probably just write a python script to do the copying instead of routing it through the content builder. I would just prefer to keep all assets in one location and one build pipeline if at all possible.
Posts: 1
Participants: 1