aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
authorHongchang Wu <wuhc85@gmail.com>2020-08-26 00:47:06 -0400
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2020-09-02 07:32:21 +0300
commit1104e448779600a6238ffc91afb7e29d6b268ef1 (patch)
treec4da0ad4a1c090d1c5124df0fe2006d6bad7a299 /projectile.el
parenta2b5a70e204e277a738615901dfebf274c8202c2 (diff)
Add support for OCaml dune projects
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/projectile.el b/projectile.el
index 0181b2a..ba94d4a 100644
--- a/projectile.el
+++ b/projectile.el
@@ -2866,6 +2866,11 @@ test/impl/other files as below:
:run "dart"
:test-suffix "_test.dart")
+;; OCaml
+(projectile-register-project-type 'ocaml-dune '("dune-project")
+ :project-file "dune-project"
+ :compile "dune build"
+ :test "dune runtest")
(defvar-local projectile-project-type nil
"Buffer local var for overriding the auto-detected project type.