diff options
author | Loïc Hoguin <[email protected]> | 2015-09-21 09:48:53 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-21 09:48:53 +0200 |
commit | a535628faa098a0cfde2d1646b75f2054af0bc72 (patch) | |
tree | d82e5e316a9ea4fb71c716fe536281886871fc0d | |
parent | 36b55172be18176bac9c2e0883caab590a87afbd (diff) | |
download | erlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.tar.gz erlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.tar.bz2 erlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.zip |
Fix core-deps-pkg test with LEGACY=1
-rw-r--r-- | test/core_deps.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk index f06a912..9795767 100644 --- a/test/core_deps.mk +++ b/test/core_deps.mk @@ -25,6 +25,12 @@ core-deps-pkg: build clean-core-deps-pkg DEPS = cowboy\ ' $(APP)/Makefile +ifdef LEGACY + $i "Add Cowboy to the applications key in the .app.src file" + $t sed -i.bak '8i\ + cowboy,' $(APP)/src/$(APP).app.src +endif + $i "Build the application" $t $(MAKE) -C $(APP) $v |