-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
When creating modules, we usually put all its files under src, because we may have some tests, unrelated files in the repo etc. and we want to keep them separated. But we want to keep the modman file at the repo's top level as well.
So we end up mirroring the folder structure except the src part, which we always have to append.
Would it be difficult (and I mean BC breaks here) to add a common source folder once and the bash script prepends it on every subsequent source path? For exampled, instead of
src/app/code/community/MX/* app/code/community/MX/
src/app/etc/modules/MX_Module1.xml app/etc/modules/
... we could use this type of declaration (without mentioning the target path):
#[source="src/"]
app/code/community/MX/
app/etc/modules/
Like a dynamic CHDIR.
PS: The comment-syntax is completely bogus. No idea what syntactic constraints are there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels