diff options
author | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
commit | a3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch) | |
tree | 79c76f50159c7d63fc313628b8b0715831537b42 /test/plugin_escript.mk | |
parent | 1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff) | |
download | erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.gz erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.bz2 erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.zip |
Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
Diffstat (limited to 'test/plugin_escript.mk')
-rw-r--r-- | test/plugin_escript.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/plugin_escript.mk b/test/plugin_escript.mk index 4a3d7a0..f80db46 100644 --- a/test/plugin_escript.mk +++ b/test/plugin_escript.mk @@ -6,7 +6,7 @@ ESCRIPT_TARGETS = $(call list_targets,escript) escript: $(ESCRIPT_TARGETS) -escript-build: build clean +escript-build: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -34,7 +34,7 @@ escript-build: build clean $i "Check that the escript was removed" $t test ! -e $(APP)/$(APP) -escript-build-deps: build clean +escript-build-deps: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -65,7 +65,7 @@ escript-build-deps: build clean $i "Check that the escript does not contain the build dependency" $t ! zipinfo $(APP)/$(APP) 2> /dev/null | grep -q lfe -escript-deps: build clean +escript-deps: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -90,7 +90,7 @@ escript-deps: build clean $i "Check that the escript contains the dependency" $t zipinfo $(APP)/$(APP) 2> /dev/null | grep -q ranch -escript-deps-with-deps: build clean +escript-deps-with-deps: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -120,7 +120,7 @@ escript-deps-with-deps: build clean $t zipinfo $(APP)/$(APP) 2> /dev/null | grep -q cowlib $t zipinfo $(APP)/$(APP) 2> /dev/null | grep -q ranch -escript-distclean: build clean +escript-distclean: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -148,7 +148,7 @@ escript-distclean: build clean $t test ! -f $(APP)/$(APP) $t test ! -f $(APP)/real-escript -escript-extra: build clean +escript-extra: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ |