From 715f72d23cd5da0436ba496d51f8b283da45b6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 18 Nov 2017 22:25:34 +0100 Subject: Hopefully fix the display of current CI target on Windows --- early-plugins.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/early-plugins.mk b/early-plugins.mk index e6afc48..570b9a8 100644 --- a/early-plugins.mk +++ b/early-plugins.mk @@ -93,10 +93,15 @@ WINDOWS-OTP-19.3-INSTALL-DIR := $(call msys2_path,$(PROGRAMFILES)/erl8.3/bin) WINDOWS-OTP-20.0-INSTALL-DIR := $(call msys2_path,$(PROGRAMFILES)/erl9.0/bin) WINDOWS-OTP-20.1-INSTALL-DIR := $(call msys2_path,$(PROGRAMFILES)/erl9.1/bin) +# We have to duplicate this for it to work as +# it is not yet defined when we define this. +ci_windows_verbose_0 = @echo " CI " $(1); +ci_windows_verbose = $(ci_verbose_$(V)) + define ci_windows_target ci-windows-$1: $(verbose) $(MAKE) --no-print-directory clean - $$(ci_verbose) \ + $(ci_windows_verbose) \ PATH="$(WINDOWS-OTP-$1-INSTALL-DIR):$(PATH)" \ CI_OTP_RELEASE="$1" \ CT_OPTS="-label $1" \ -- cgit v1.2.3