Skip to content

Commit 430cd2f

Browse files
committed
CLI: Compile and test with --warnings-as-errors
1 parent 9f60325 commit 430cd2f

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)