From 4a69aa17b916754590812a6895b7f0ce2116aa1b Mon Sep 17 00:00:00 2001 From: LaurenceWarne <17688577+LaurenceWarne@users.noreply.github.com> Date: Thu, 8 Oct 2020 20:51:09 +0100 Subject: Add support for scala mill projects (#1590) Register mill as a project type in projectile.el and update the changelog and doc with these changes. --- CHANGELOG.md | 1 + doc/modules/ROOT/pages/projects.adoc | 3 +++ projectile.el | 7 +++++++ 3 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b11a48..86c5bfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * [#1555](https://github.com/bbatsov/projectile/pull/1555) Add search with ripgrep. * Add Python-poetry project type. * [#1576](https://github.com/bbatsov/projectile/pull/1576) Add OCaml [Dune](https://github.com/ocaml/dune) project type. +* Add [Mill](http://www.lihaoyi.com/mill/) project type. ### Changes diff --git a/doc/modules/ROOT/pages/projects.adoc b/doc/modules/ROOT/pages/projects.adoc index ab15b5e..5fb2e39 100644 --- a/doc/modules/ROOT/pages/projects.adoc +++ b/doc/modules/ROOT/pages/projects.adoc @@ -48,6 +48,9 @@ are the configuration files of various build tools. Out of the box the following | build.sbt | SBT project file +| build.sc +| Mill project file + | gradlew | Gradle wrapper script diff --git a/projectile.el b/projectile.el index ff00a24..33aa2d5 100644 --- a/projectile.el +++ b/projectile.el @@ -2764,6 +2764,13 @@ test/impl/other files as below: :compile "sbt compile" :test "sbt test" :test-suffix "Spec") + +(projectile-register-project-type 'mill '("build.sc") + :project-file "build.sc" + :compile "mill all __.compile" + :test "mill all __.test" + :test-suffix "Test") + ;; Clojure (projectile-register-project-type 'lein-test '("project.clj") :project-file "project.clj" -- cgit v1.0