Browse Source

Fix core-deps-pkg test with LEGACY=1

Loïc Hoguin 9 years ago
parent
commit
a535628faa
1 changed files with 6 additions and 0 deletions
  1. 6 0
      test/core_deps.mk

+ 6 - 0
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