You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where OtherProject is a separate project with its own git repository. I want to have the binary outputs of OtherProject to be included in the MainProject bundle, I'm using the extraFiles option to do so. The directory structure I want to get from my build is (for osx):
Where from specifies the base directory to be copied from relative to the project root, to specifies the directory to be copied to relative to the app's content directory and filter specifies patterns to match when copying.
This would effectively solve issue #597 as well, as from can be a parent directory.
If you approve of this, I could send a pull request myself.
The text was updated successfully, but these errors were encountered:
I have a project structure such as below:
Where
OtherProject
is a separate project with its own git repository. I want to have the binary outputs ofOtherProject
to be included in the MainProject bundle, I'm using theextraFiles
option to do so. The directory structure I want to get from my build is (for osx):But since
extraFiles
copies everything with the original directory structure relative to the project root, I can only get:Although it's possible to get the app content structure I want by restructuring the directories before build, it's kind of an inconvenience.
I propose that aside from the glob patterns,
extraFiles
also accepts JSON objects with a structure such as:Where
from
specifies the base directory to be copied from relative to the project root,to
specifies the directory to be copied to relative to the app's content directory andfilter
specifies patterns to match when copying.This would effectively solve issue #597 as well, as
from
can be a parent directory.If you approve of this, I could send a pull request myself.
The text was updated successfully, but these errors were encountered: