From fae760c5412bbf816ed1c62136b45c8cb4310b37 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 22 Jun 2022 08:18:28 +0200 Subject: [PATCH] dir-locals: Exhaustive projectile setup This expands on the minimal projectile setup we had before by including compilation directory, configure and run commands. --- .dir-locals.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 37868ca..1884715 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,6 +1,10 @@ ((nil . ((indent-tabs-mode . nil) (projectile-project-compilation-cmd . "ninja -C _build") - (projectile-project-test-cmd . "ninja -C _build test"))) + (projectile-project-test-cmd . "ninja -C _build test") + (projectile-project-configure-cmd . "meson . _build") + (projectile-project-compilation-dir . ".") + (projectile-project-run-cmd . "_build/run -vvv") + )) ;; thanks to Mohammed Sadiq, see https://source.puri.sm/Librem5/calls/-/merge_requests/332#note_159469 (c-mode . ((c-macro-names-with-semicolon . ("G_BEGIN_DECLS" "G_END_DECLS" "G_DECLARE_FINAL_TYPE" "G_DEFINE_QUARK"