From b8d0ee2c7f8de5f6a8474ee8295afabdc414dd42 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 9 Feb 2026 09:57:46 +0000 Subject: [PATCH] .dir-locals: added compile-command for testing When I'm writing unit test code, it's nicer to compile with full logs by default. --- .dir-locals.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 44427e0..4257c44 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -3,4 +3,6 @@ ((nil . ((compile-command . "make MODE=debug test examples") (+license/license-choice . "GNU General Public License Version 2"))) - (c-mode . ((mode . clang-format)))) + (c-mode . ((mode . clang-format))) + ("test" . + ((nil . ((compile-command . "make MODE=full test"))))))