DUB project type support for Emacs Projectile

Andre Pany andre at s-e-a-p.de
Sun Jun 14 09:11:58 UTC 2020


On Saturday, 13 June 2020 at 19:27:53 UTC, Jean-Louis Leroy wrote:
> On Monday, 18 November 2019 at 23:06:14 UTC, Per Nordlöw wrote:
>> Have anybody written support for DUB project types in Emacs' 
>> projectile?
>>
>> See: 
>> https://www.projectile.mx/en/latest/projects/#adding-custom-project-types
>
> Normally it should be as easy as this:
>
> (projectile-register-project-type
>  'dub '("dub.json" "dub.sdl")
>  :compile "dub compile"
>  :test "dub test"
>  :run "dub run")
>
> But it doesn't work for me and I cannot figure out why.

The command is `dub build` which will build the project from the 
current work dir. You can set another work dir with arg `--root 
FOLDER` if needed. Same for `dub test` and `dub run`.

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list