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

juanjo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new e60e27554 Unlock build using Elixir 1.15 (#4726)
e60e27554 is described below

commit e60e27554708f46a9e6528fa6049d025c1aba859
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 67971c45c..1d88d6ec5 100644
--- a/Makefile
+++ b/Makefile
@@ -461,11 +461,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 23f5db632..75ea04fa5 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -418,10 +418,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 7adb0e318..d9fc3f191 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