Install multiple executables with DUB
andreas.fueglistaler at gmail.com
Tue Sep 8 08:41:24 UTC 2020
My folder structure looks like this:
│ ├── biophysics
│ │ └── ...
│ └── tools
│ │ └── ...
Following the advice of drug, I moved the "tools" folder from src
to the parent directory, added a dependency to "biophysics" with
path ".." and build the binaries with "dub build --single
This works fine, however, now I have a problem when editing with
Emacs: Flycheck gives errors as it cannot find my package anymore
and company autocomplete does not work anymore neither.
By the way, I have the same problem when I clone tsv-utils and
open the source file with Emacs. I have to admit I am using
emacs' d-mode as a black-box since there seems to be no
documentation, and I am not very fluent in elisp...
I tried keeping the tools folder in src and added the following
line to dub.sdl:
however, this does not seem to make any difference.
A solution that works is putting dub.sdl into src, adding
however, "dub build --single" is only working in the src-folder
and not the parent folder...
More information about the Digitalmars-d-learn