Skip to content

Commit dab2a25

Browse files
the-mikedavismergify[bot]
authored andcommitted
CLI: Compile and test with --warnings-as-errors
(cherry picked from commit 430cd2f)
1 parent b747ff2 commit dab2a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ VERBOSE_TEST ?= true
1717
MAX_CASES ?= 1
1818

1919
MIX_TEST_OPTS ?= ""
20-
MIX_TEST = ERL_COMPILER_OPTIONS=deterministic mix test --max-cases=$(MAX_CASES)
20+
MIX_TEST = ERL_COMPILER_OPTIONS=deterministic MIX_ENV=test mix do compile --warnings-as-errors, test --max-cases=$(MAX_CASES) --warnings-as-errors
2121

2222
ifneq ("",$(MIX_TEST_OPTS))
2323
MIX_TEST := $(MIX_TEST) $(MIX_TEST_OPTS)

0 commit comments

Comments
 (0)