|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] Project out of sources compilation |
Date: | Wed, 3 Apr 2024 02:23:03 +0300 |
User-agent: | Mozilla Thunderbird |
On 01/04/2024 16:52, Ergus wrote:
So having direct support for this in project.el would be quite welcome, so I can use that instead of my private hacks.Projectile already have support for many backends and the implementation is pretty clean. I am doing this because I thing that something so basic must be part of vanilla.
Speaking of Projectile, it has this block of definitions of "project types". Which could maybe better called "build tool types" in the context of this discussion.
It would be nice if we could port them over to a design which would be useable by both Projectile and project.el (and together with other project.el backends), rather than having every project backend re-implement these settings, or re-enumerate the supported types.
That's why the idea of orthogonal APIs seems appealing to me (the current one for file listing and root finding; the new one for build tools, and compiling, and running, I guess).
Until we've drawn up some design for the latter, though, maybe a customizable function variable will suffice.
[Prev in Thread] | Current Thread | [Next in Thread] |