From 099d602e825f20b59130dc4c8234de8ea870e78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 23 May 2022 11:40:03 +0200 Subject: Automatically add relx dependency on bootstrap-rel --- test/plugin_relx.mk | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'test') diff --git a/test/plugin_relx.mk b/test/plugin_relx.mk index 58298af..554b292 100644 --- a/test/plugin_relx.mk +++ b/test/plugin_relx.mk @@ -22,9 +22,6 @@ relx-rel: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Build the release" $t $(MAKE) -C $(APP) $v @@ -60,9 +57,6 @@ relx-apps-with-deps: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Create a new application my_app" $t $(MAKE) -C $(APP) new-app in=my_app $v @@ -97,9 +91,6 @@ relx-bare-rel: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Build the release" $t $(MAKE) -C $(APP) rel $v @@ -118,9 +109,6 @@ relx-post-rel: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Add relx-post-rel target to Makefile" $t echo "relx-post-rel::" >> $(APP)/Makefile $t echo " echo test post rel > _rel/$(APP)_release/test_post_rel" >> $(APP)/Makefile @@ -168,9 +156,6 @@ relx-relup: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Set the initial application version" ifeq ($(LEGACY),1) $t sed -i.bak s/"{vsn, \"0.1.0\"}"/"{vsn, \"1\"}"/ $(APP)/src/$(APP).app.src @@ -293,9 +278,6 @@ relx-start-stop: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Build the release" $t $(MAKE) -C $(APP) $v @@ -338,9 +320,6 @@ relx-tar: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Build the release without a tarball" $t $(MAKE) -C $(APP) RELX_TAR=0 $v @@ -360,9 +339,6 @@ relx-vsn: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v - $i "Add Relx to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = relx\n"}' $(APP)/Makefile - $i "Replace the vsn" $t sed -i.bak s/"\"1\""/"{cmd, \"printf 2\"}"/ $(APP)/relx.config -- cgit v1.2.3