I have several applications which contain different sets of modules. Modules have such structure:
foo_module
|-foo.php
|---views
|---assets
|---models
|---controllers
"Views" and "assets" directories vary depending on the application.
I need "application" directory to be a "parent" repository which contains nested "child" repository (foo_module directory). "Views" and "assets" directories must belong to "parent" repository. Application structure:
application (repository "parent")
foo_module (nested repository "child")
|-foo.php
|---views (belongs to repository "parent")
|---assets (belongs to repository "parent")
|---models
|---controllers
Is there any way to do this without changing the structure?