mirror of
https://github.com/valitydev/snowflake.git
synced 2024-11-06 00:55:17 +00:00
Move warnings_as_errors to dedicated profile (#7)
The library should not block the compilation of other applications
This commit is contained in:
parent
c34a962e17
commit
563d8ef954
4
Makefile
4
Makefile
@ -5,7 +5,7 @@ APP := snowflake
|
||||
.PHONY: deps test dialyzer clean distclean
|
||||
|
||||
all: deps
|
||||
@$(REBAR) compile
|
||||
@$(REBAR) as strict compile
|
||||
|
||||
deps:
|
||||
@$(REBAR) get-deps
|
||||
@ -20,7 +20,7 @@ docs:
|
||||
@$(REBAR) edoc
|
||||
|
||||
test:
|
||||
@$(REBAR) do eunit, ct
|
||||
@$(REBAR) as test,strict do eunit,ct
|
||||
|
||||
dialyzer:
|
||||
@$(REBAR) dialyzer
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
{erl_opts, [
|
||||
debug_info,
|
||||
warnings_as_errors,
|
||||
warn_untyped_record,
|
||||
warn_export_vars,
|
||||
warn_unused_record,
|
||||
@ -42,3 +41,11 @@
|
||||
]},
|
||||
{plt_apps, all_deps}
|
||||
]}.
|
||||
|
||||
{profiles, [
|
||||
{strict, [
|
||||
{erl_opts, [
|
||||
warnings_as_errors
|
||||
]}
|
||||
]}
|
||||
]}.
|
||||
|
Loading…
Reference in New Issue
Block a user