Browse Source

Enable ci.erlang.mk only when CI_ERLANG_MK=1 is set

This will avoid issues with other people's build systems.
Loïc Hoguin 7 years ago
parent
commit
b47b511cbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -20,7 +20,7 @@ dep_ranch = git https://github.com/ninenines/ranch 1.4.0
 
 
 DOC_DEPS = asciideck
 DOC_DEPS = asciideck
 
 
-TEST_DEPS = ci.erlang.mk ct_helper gun proper
+TEST_DEPS = $(if $(CI_ERLANG_MK),ci.erlang.mk) ct_helper gun proper
 dep_ct_helper = git https://github.com/extend/ct_helper master
 dep_ct_helper = git https://github.com/extend/ct_helper master
 dep_gun = git https://github.com/ninenines/gun master
 dep_gun = git https://github.com/ninenines/gun master