mirror of
https://github.com/valitydev/jesse.git
synced 2024-11-06 09:35:23 +00:00
no dialyzer for R16 and below
This commit is contained in:
parent
515f1f4292
commit
4718bb189f
6
Makefile
6
Makefile
@ -14,10 +14,10 @@ DIALYZER := dialyzer
|
||||
# Travis CI is slow at building dialyzer PLT
|
||||
ifeq ($(TRAVIS), true)
|
||||
OTP_VSN := $(shell erl -noshell -eval 'io:format("~p", [erlang:system_info(otp_release)]), erlang:halt(0).' | perl -lne 'print for /^(?:"R)?(\d+).*/g')
|
||||
SLOW_DIALYZER := $(shell expr $(OTP_VSN) \<= 14 )
|
||||
NO_DIALYZER := $(shell expr $(OTP_VSN) \<= 16 )
|
||||
|
||||
ifeq ($(SLOW_DIALYZER), 1)
|
||||
DIALYZER := : not running dialyzer on TRAVIS with R14
|
||||
ifeq ($(NO_DIALYZER), 1)
|
||||
DIALYZER := : not running dialyzer on TRAVIS with R16 and below
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user