[calls] dir-locals: Add projectile commands



commit 85b0ae65868e156f78e2cf5697d2c18e95205f6e
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri Apr 22 09:57:26 2022 +0200

    dir-locals: Add projectile commands

 .dir-locals.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.dir-locals.el b/.dir-locals.el
index 8d530046..da3d22d5 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,6 @@
-((nil . ((indent-tabs-mode . nil)))
+((nil . ((indent-tabs-mode . nil)
+         (projectile-project-compilation-cmd . "ninja -C _build")
+         (projectile-project-test-cmd . "ninja -C _build test")))
  ;; 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]