[calls] dir-locals: Exhaustive projectile setup
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] dir-locals: Exhaustive projectile setup
- Date: Wed, 22 Jun 2022 15:12:05 +0000 (UTC)
commit fae760c5412bbf816ed1c62136b45c8cb4310b37
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Wed Jun 22 08:18:28 2022 +0200
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 37868cae..18847152 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]