aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_compat.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-17 21:40:41 +0200
committerLoïc Hoguin <[email protected]>2015-09-17 21:40:41 +0200
commit9c3f9f1dfe73738d182ddd9832406b2ab61293f7 (patch)
tree861180f0a121eeec686539e12f421836322c7ca5 /test/core_compat.mk
parent42e14a3edb7b6d86c94b87d6d0956d059de5c674 (diff)
downloaderlang.mk-9c3f9f1dfe73738d182ddd9832406b2ab61293f7.tar.gz
erlang.mk-9c3f9f1dfe73738d182ddd9832406b2ab61293f7.tar.bz2
erlang.mk-9c3f9f1dfe73738d182ddd9832406b2ab61293f7.zip
Don't require OTP 18+ to run tests
Diffstat (limited to 'test/core_compat.mk')
-rw-r--r--test/core_compat.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core_compat.mk b/test/core_compat.mk
index 93178d3..9b6516f 100644
--- a/test/core_compat.mk
+++ b/test/core_compat.mk
@@ -112,7 +112,7 @@ core-compat-rebar-deps: build clean-core-compat-rebar-deps
$i "Add Cowboy as a dependency"
$t sed -i.bak '2i\
DEPS = cowboy\
-dep_cowboy = git https://github.com/ninenines/cowboy master\
+dep_cowboy = git https://github.com/ninenines/cowboy 1.0.0\
' $(APP)/Makefile
$i "Run 'make rebar.config'"
@@ -124,7 +124,7 @@ dep_cowboy = git https://github.com/ninenines/cowboy master\
$i "Check that Cowboy is listed in rebar.config"
$t $(ERL) -eval " \
{ok, C} = file:consult(\"$(APP)/rebar.config\"), \
- {_, [{cowboy, _, {git, _, \"master\"}}]} = lists:keyfind(deps, 1, C), \
+ {_, [{cowboy, _, {git, _, \"1.0.0\"}}]} = lists:keyfind(deps, 1, C), \
halt()"
$i "Distclean the application"