From 20f480531e0caafcb1f988eaadea1b3b6a3caf72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 28 Oct 2016 19:22:49 +0300 Subject: Add "make relup" The initial documentation is a bit rough. It's getting late and I'd like to have this in sooner rather than later. :-) --- test/plugin_relx.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/plugin_relx.mk') diff --git a/test/plugin_relx.mk b/test/plugin_relx.mk index 3cd1392..0afdce1 100644 --- a/test/plugin_relx.mk +++ b/test/plugin_relx.mk @@ -69,7 +69,7 @@ endif "test() -> old." > $(APP)/src/test.erl $i "Build the initial release as a tarball" - $t $(MAKE) -C $(APP) RELX_OPTS="release tar" $v + $t $(MAKE) -C $(APP) $v $i "Update the test module" $t sed -i s/"test() -> old."/"test() -> new."/ $(APP)/src/test.erl @@ -92,7 +92,7 @@ endif $t sed -i s/"1"/"2"/ $(APP)/relx.config $i "Build a new release with a relup as a tarball" - $t $(MAKE) -C $(APP) RELX_OPTS="release relup tar" $v + $t $(MAKE) -C $(APP) relup $v $i "Test that both releases are available" $t test -f $(APP)/_rel/$(APP)_release/$(APP)_release-1.tar.gz @@ -185,7 +185,7 @@ relx-tar: build clean $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v $i "Build the release as a tarball" - $t $(MAKE) RELX_OPTS="release tar" -C $(APP) $v + $t $(MAKE) -C $(APP) $v $i "Check that tarball exists" $t test -f $(APP)/_rel/$(APP)_release/$(APP)_release-1.tar.gz -- cgit v1.2.3