[Issue 18967] Allow wildcard with the -J option
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 10 21:33:45 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18967
ag0aep6g <ag0aep6g at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ag0aep6g at gmail.com
Resolution|--- |WORKSFORME
--- Comment #1 from ag0aep6g <ag0aep6g at 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.
--
More information about the Digitalmars-d-bugs
mailing list