From 69a25b110d6be7d3e0822d1ff0a54b91e3ec91aa Mon Sep 17 00:00:00 2001 From: k32 <10274441+k32@users.noreply.github.com> Date: Sat, 28 Nov 2020 15:59:44 +0100 Subject: Use rebar3 as the default build system for Erlang projects --- CHANGELOG.md | 1 + README.md | 2 +- projectile.el | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3362c54..774ff50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## master (unreleased) +* [#1608](https://github.com/bbatsov/projectile/pull/1608): Use rebar3 build system by default for Erlang projects ## 2.3.0 (2020-11-27) diff --git a/README.md b/README.md index db740a5..7e06925 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ concept of a project is pretty basic - just a folder containing some special file (e.g. a VCS marker or a project descriptor file). Currently `git`, `mercurial`, `darcs` and `bazaar` repos are considered projects by default. So are `lein`, `maven`, `sbt`, -`scons`, `rebar` and `bundler` projects. If you want to mark a folder +`scons`, `rebar3` and `bundler` projects. If you want to mark a folder manually as a project just create an empty `.projectile` file in it. Here are some of Projectile's features: diff --git a/projectile.el b/projectile.el index 3a686dd..ea8cb0e 100644 --- a/projectile.el +++ b/projectile.el @@ -2675,8 +2675,8 @@ test/impl/other files as below: ;; Erlang & Elixir (projectile-register-project-type 'rebar '("rebar.config") :project-file "rebar.config" - :compile "rebar" - :test "rebar eunit" + :compile "rebar3 compile" + :test "rebar3 do eunit,ct" :test-suffix "_SUITE") (projectile-register-project-type 'elixir '("mix.exs") :project-file "mix.exs" -- cgit v1.0