From a2e3a1bad305071ff3c2fed5c84b6f62eea90945 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Wed, 18 Nov 2020 23:01:06 +0000 Subject: [PATCH] Imagine this is a possible solution to a past requirement --- .travis.yml | 2 +- rebar.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index adc1c1a..8306809 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: rebar3 eunit install: - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 script: - - ./rebar3 compile + - ./rebar3 as prod compile - ./rebar3 xref - ./rebar3 dialyzer - ./rebar3 eunit diff --git a/rebar.config b/rebar.config index e8a4a23..f2d1b44 100644 --- a/rebar.config +++ b/rebar.config @@ -4,7 +4,7 @@ {cover_enabled, true}, {cover_opts, [verbose]} ]}, - {compile, [ + {prod, [ {erl_opts, [ debug_info, warnings_as_errors,