This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch 3.3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit a4cf8ccc9f476f4bc0eb0b8327e9153bf96687c0
Author: Juanjo Rodriguez <[email protected]>
AuthorDate: Wed Aug 16 00:49:01 2023 +0200

    Unlock build using Elixir 1.15 (#4726)
    
    * Unlock support for Elixir 1.15 builds
    * Include elixir build folders into the make clean target
---
 Makefile     | 3 +++
 Makefile.win | 3 +++
 mix.exs      | 1 +
 3 files changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 146087723..a8d1b2c47 100644
--- a/Makefile
+++ b/Makefile
@@ -436,11 +436,14 @@ install: release
 # target: clean - Remove build artifacts
 clean:
        @$(REBAR) -r clean
+       @mix clean --deps
        @rm -rf .rebar/
+       @rm -rf _build
        @rm -f bin/couchjs
        @rm -f bin/weatherreport
        @rm -rf src/*/ebin
        @rm -rf src/*/.rebar
+       @rm -rf src/*/_build
        @rm -rf src/*/priv/*.so
        @rm -rf src/couch/priv/{couchspawnkillable,couchjs}
        @rm -rf share/server/main.js share/server/main-ast-bypass.js 
share/server/main-coffee.js
diff --git a/Makefile.win b/Makefile.win
index a897554e7..4841212ff 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -368,10 +368,13 @@ install: release
 # target: clean - Remove build artifacts
 clean:
        @$(REBAR) -r clean
+       -@mix clean --deps
        -@rmdir /s/q .rebar
+       -@rmdir /s/q _build
        -@del /f/q bin\couchjs.exe
        -@rmdir /s/q src\*\ebin
        -@rmdir /s/q src\*\.rebar
+       -@rmdir /s/q src\*\_build
        -@del /f/q/s src\*.dll
        -@del /f/q src\couch\priv\*.exe
        -@del /f/q share\server\main.js share\server\main-ast-bypass.js 
share\server\main-coffee.js
diff --git a/mix.exs b/mix.exs
index dbf32d05e..f333f68af 100644
--- a/mix.exs
+++ b/mix.exs
@@ -61,6 +61,7 @@ defmodule CouchDBTest.Mixfile do
       consolidate_protocols: Mix.env() not in [:test, :dev, :integration],
       test_paths: get_test_paths(Mix.env()),
       elixirc_paths: elixirc_paths(Mix.env()),
+      prune_code_paths: false,
       test_coverage: [
         tool: CoverTool,
         dirs: get_coverage_paths(),

Reply via email to