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

amaranhao 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 f85cff6  Remove '--production' flag when building Fauxton
     new 32dba58  Merge pull request #3240 from 
Antonio-Maranhao/update-fauxton-make-target
f85cff6 is described below

commit f85cff669f20cee0a54da7bb8c645dfc4d2de5c9
Author: Antonio Maranhao <amaranha@Antonios-MacBook-Pro-2.local>
AuthorDate: Mon Nov 2 14:02:39 2020 -0500

    Remove '--production' flag when building Fauxton
    
    Since https://github.com/apache/couchdb-fauxton/pull/1299 only runtime
    dependencies are installed when using 'npm install --production'.
    To correctly build the Fauxton release, one must install all dependencies
    with 'npm install'.
---
 Makefile     | 2 +-
 Makefile.win | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 58eb614..8844b86 100644
--- a/Makefile
+++ b/Makefile
@@ -485,7 +485,7 @@ endif
 share/www:
 ifeq ($(with_fauxton), 1)
        @echo "Building Fauxton"
-       @cd src/fauxton && npm install --production && 
./node_modules/grunt-cli/bin/grunt couchdb
+       @cd src/fauxton && npm install && ./node_modules/grunt-cli/bin/grunt 
couchdb
 endif
 
 
diff --git a/Makefile.win b/Makefile.win
index b529209..fa676ad 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -419,7 +419,7 @@ endif
 share\www:
 ifeq ($(with_fauxton), 1)
        @echo 'Building Fauxton'
-       @cd src\fauxton && npm install --production && 
.\node_modules\.bin\grunt couchdb
+       @cd src\fauxton && npm install && .\node_modules\.bin\grunt couchdb
 endif
 
 derived:

Reply via email to