Thread overview
[Issue 18967] Allow wildcard for subfolders with the -J option
[Issue 18967] Allow wildcard with the -J option
Jun 10, 2018
ag0aep6g
Jun 11, 2018
Basile B.
Jun 11, 2018
Basile B.
Jun 11, 2018
Basile B.
June 10, 2018
https://issues.dlang.org/show_bug.cgi?id=18967

ag0aep6g <ag0aep6g@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ag0aep6g@gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from ag0aep6g <ag0aep6g@gmail.com> ---
-J takes a directory, not a single file name. So your long version doesn't actually work. The correct way would be `dmd -J/home/fantomas/includes`, with `import("default.css")`, `import("icons.data")`, etc. in the D code.

https://run.dlang.io/is/xKQoJZ

So judging from your example, the current -J already does what you want. Closing as WORKSFORME. Feel free to reopen if I'm missing the point.

--
June 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18967

Basile B. <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #2 from Basile B. <b2.temp@gmx.com> ---
Sorry, i meant

dmd -J/home/fantomas/includes/*

instead of

dmd -J/home/fantomas/includes/default.css ^ -J/home/fantomas/includes/assets/icons.data ^ -J/home/fantomas/includes/assets/strings.rc ^ -J/home/fantomas/includes/translation/EN.po ^ -J/home/fantomas/includes/translation/FR.po ^ -J/home/fantomas/includes/translation/RU.po ^ -J/home/fantomas/includes/translation/JP.po

--
June 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18967

Basile B. <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow wildcard with the -J  |Allow wildcard for
                   |option                      |subfolders with the -J
                   |                            |option

--
June 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18967

Basile B. <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--