[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] project-test extensible
From: |
Ergus |
Subject: |
Re: [PATCH] project-test extensible |
Date: |
Mon, 20 Jan 2025 01:52:20 +0100 |
Hi:
Please find attached a proposed patch to add the command project-tests
to project.el. Documentation is still missing and Dmitry may remember we
were talking about this a while ago. But I bring it back again.
The main idea is to give a customization variable for the user and a
cl-generic for backend developers in order to modify/specify the
project-compile command and (the new added) project-test one. But also
allow to extend for more commands in the future with very little code.
The idea is that any external project.el backend could "construct"
complex build and test commands with the extra information if should
hold. But also, if the user wants to specify them as dir-local he could
do it very easily as well.
The actual patch does not modifies the current behavior, but will allow
to extend project.el externally (for example, to support different build
systems)
See an example: https://github.com/Ergus/project-multi-mode
That's a simple backend that uses this new "api" to offer a transparent
experience for compile backends in less than 400 lines (including
documentation and header).
Best,
Ergus
project-test-extensible.patch
Description: Text document
- Re: [PATCH] project-test extensible,
Ergus <=