diff options
author | Eric Avdey <eiri@eiri.ca> | 2018-06-11 11:24:33 -0300 |
---|---|---|
committer | Eric Avdey <eiri@eiri.ca> | 2018-06-14 10:18:49 -0300 |
commit | 76790d5eda084842268636d0bfd00e623331348c (patch) | |
tree | 9f602bade8ad1017daccbf34af2fc7ce299348ab | |
parent | 2bf04a0c5db86a4396af1baed8dc3581a26a0d02 (diff) | |
download | couchdb-76790d5eda084842268636d0bfd00e623331348c.tar.gz |
Add compile's command line options
Allow to compile a specified list of apps.
Fix for eunit's OPTS regexp on systems
with sed withouth GNU extension (i.e MacOS)
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -34,16 +34,19 @@ skip_deps=folsom,meck,mochiweb,triq,snappy,bcrypt,hyper suites= tests= +COMPILE_OPTS=$(shell echo "\ + apps=$(apps) \ + " | sed -e 's/[a-z_]\{1,\}= / /g') EUNIT_OPTS=$(shell echo "\ apps=$(apps) \ skip_deps=$(skip_deps) \ suites=$(suites) \ tests=$(tests) \ - " | sed -e 's/[a-z]\+= / /g') + " | sed -e 's/[a-z]\{1,\}= / /g') DIALYZE_OPTS=$(shell echo "\ apps=$(apps) \ skip_deps=$(skip_deps) \ - " | sed -e 's/[a-z]\+= / /g') + " | sed -e 's/[a-z]\{1,\}= / /g') #ignore javascript tests ignore_js_suites= @@ -75,7 +78,7 @@ help: .PHONY: couch # target: couch - Build CouchDB core couch: config.erl - @COUCHDB_VERSION=$(COUCHDB_VERSION) $(REBAR) compile + @COUCHDB_VERSION=$(COUCHDB_VERSION) $(REBAR) compile $(COMPILE_OPTS) @cp src/couch/priv/couchjs bin/ |