aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-21 13:25:38 +0200
committerLoïc Hoguin <[email protected]>2015-09-21 13:25:38 +0200
commitc94d7873bbbee301faf61d7502c6f64b4d1ada9a (patch)
tree6a8fab582a5d7283372a4793a76672fa7b50183d /test/core_deps.mk
parentbad95de3da06fda4e8ab3e014380c7e3d49d9eee (diff)
downloaderlang.mk-c94d7873bbbee301faf61d7502c6f64b4d1ada9a.tar.gz
erlang.mk-c94d7873bbbee301faf61d7502c6f64b4d1ada9a.tar.bz2
erlang.mk-c94d7873bbbee301faf61d7502c6f64b4d1ada9a.zip
Use cowlib instead of rebar for core-deps-build-erl
Ran into weird Rebar issues on Windows, I will probably run into those issues again later on, but this test isn't about that.
Diffstat (limited to 'test/core_deps.mk')
-rw-r--r--test/core_deps.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk
index dae7be9..6b95a8b 100644
--- a/test/core_deps.mk
+++ b/test/core_deps.mk
@@ -81,23 +81,22 @@ core-deps-build-erl: build clean-core-deps-build-erl
$t cp ../erlang.mk $(APP)/
$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
- $i "Add rebar to the list of build dependencies"
+ $i "Add cowlib to the list of build dependencies"
$t sed -i.bak '2i\
-BUILD_DEPS = rebar\
-dep_rebar = git https://github.com/rebar/rebar master\
+BUILD_DEPS = cowlib\
' $(APP)/Makefile
$i "Build the application"
$t $(MAKE) -C $(APP) $v
$i "Check that all dependencies were fetched"
- $t test -d $(APP)/deps/rebar
+ $t test -d $(APP)/deps/cowlib
$i "Check that the application was compiled correctly"
$t $(ERL) -pa $(APP)/ebin/ $(APP)/deps/*/ebin/ -eval " \
- [ok = application:load(App) || App <- [$(APP), rebar]], \
+ [ok = application:load(App) || App <- [$(APP), cowlib]], \
{ok, Deps} = application:get_key($(APP), applications), \
- false = lists:member(rebar, Deps), \
+ false = lists:member(cowlib, Deps), \
halt()"
core-deps-pkg: build clean-core-deps-pkg