diff options
author | Loïc Hoguin <[email protected]> | 2016-10-28 19:22:49 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-28 19:22:49 +0300 |
commit | 20f480531e0caafcb1f988eaadea1b3b6a3caf72 (patch) | |
tree | 4bb2b3ebe51c50268ba4a5aed9f1ceae70c99170 /test | |
parent | 2a0a4e9606492c9a746ad2dc36899b3c32d074cc (diff) | |
download | erlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.tar.gz erlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.tar.bz2 erlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.zip |
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. :-)
Diffstat (limited to 'test')
-rw-r--r-- | test/plugin_relx.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 |