You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2021/12/13 03:46:30 UTC

[couchdb] 01/01: Run erlfmt-check during the build stage

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

vatamane pushed a commit to branch check-erlfmt-format-in-build-stage
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit edb0e7b2c9bc68d3decd86e3a0b97f82c53b8c29
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sun Dec 12 22:44:04 2021 -0500

    Run erlfmt-check during the build stage
    
    Previously we ran it in the dist building stage. However, unlike in
    `main` in 3.x that stage is run with the lowest supported Erlang
    version (20) where erlfmt check is skipped.
---
 build-aux/Jenkinsfile.pr | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index 61ae43b..433ffef 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -22,6 +22,7 @@ tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
 cd apache-couchdb-*
 . /usr/local/kerl/${ERLANG_VERSION}/activate
 ./configure --spidermonkey-version 60
+make erlfmt-check
 make check || (make build-report && false)
 '''