diff options
| author | k32 <10274441+k32@users.noreply.github.com> | 2020-11-28 15:59:44 +0100 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2020-11-28 17:39:08 +0200 |
| commit | 69a25b110d6be7d3e0822d1ff0a54b91e3ec91aa (patch) | |
| tree | 5d3d9181fad9bf63ba49adb4d55cb6a8a1a6bd79 | |
| parent | d1cfad008b1719a6bee17fbe9479db414c0dc5d9 (diff) | |
Use rebar3 as the default build system for Erlang projects
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | 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) @@ -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" |
