CLI: Compile and test with --warnings-as-errors

This commit is contained in:
Michael Davis 2024-12-04 11:19:55 -05:00
parent 9f60325563
commit 430cd2f578
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ VERBOSE_TEST ?= true
MAX_CASES ?= 1
MIX_TEST_OPTS ?= ""
MIX_TEST = ERL_COMPILER_OPTIONS=deterministic mix test --max-cases=$(MAX_CASES)
MIX_TEST = ERL_COMPILER_OPTIONS=deterministic MIX_ENV=test mix do compile --warnings-as-errors, test --max-cases=$(MAX_CASES) --warnings-as-errors
ifneq ("",$(MIX_TEST_OPTS))
MIX_TEST := $(MIX_TEST) $(MIX_TEST_OPTS)