From a3cd50792d0ed1c5dfee66ff79ee7117057e9970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 7 Dec 2018 19:40:02 +0100 Subject: 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. --- test/plugin_protobuffs.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/plugin_protobuffs.mk') diff --git a/test/plugin_protobuffs.mk b/test/plugin_protobuffs.mk index 5a23cf4..0d29e4b 100644 --- a/test/plugin_protobuffs.mk +++ b/test/plugin_protobuffs.mk @@ -8,7 +8,7 @@ protobuffs: $(PROTOBUFFS_TARGETS) PROTOBUFFS_URL = https://raw.githubusercontent.com/basho/erlang_protobuffs/master/test/erlang_protobuffs_SUITE_data -protobuffs-compile: build clean +protobuffs-compile: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -40,7 +40,7 @@ protobuffs-compile: build clean {ok, [empty_pb, simple_pb]} = application:get_key($(APP), modules), \ halt()" -protobuffs-compile-with-gpb: build clean +protobuffs-compile-with-gpb: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -72,7 +72,7 @@ protobuffs-compile-with-gpb: build clean {ok, [empty_pb, simple_pb]} = application:get_key($(APP), modules), \ halt()" -protobuffs-makefile-change: build clean +protobuffs-makefile-change: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ -- cgit v1.2.3