Skip to content

[Feature request?] Using wildcard patterns in :root-dir? #1

@rodw

Description

@rodw

(Awesome library, by the way. Much simpler than fighting with fof and its variants.)

Suppose I have several projects with a similar structure:

~/Projects/
~/Projects/foo/
~/Projects/foo/src/
~/Projects/foo/test/
~/Projects/bar/
~/Projects/bar/src/
~/Projects/bar/test/

Is there, or could there be, a way to use a wildcard within the :root-dir value of elements in the the tgt-projects list to add mutliple projects all at once?

In other words, something like:

(add-to-list 'tgt-projects '((:root-dir "~/Projects/*")
                             (:src-dirs "src")
                             (:test-dirs "test")))

that would be equivalent to:

(add-to-list 'tgt-projects '((:root-dir "~/Projects/foo")
                             (:src-dirs "src")
                             (:test-dirs "test")))
(add-to-list 'tgt-projects '((:root-dir "~/Projects/bar")
                             (:src-dirs "src")
                             (:test-dirs "test")))

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