Skip to content

Feature request: common path prefix #95

@nevvermind

Description

@nevvermind

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions