build.d: Add toolchain-info as dependency of auto-tester-build

This avoids an additional make and build.d invocation and prints the currently
used tools on windows machine as well.
This commit is contained in:
MoonlightSentinel 2019-12-01 00:31:19 +01:00
parent 50533606af
commit c507b988cb
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ ifneq (,$(findstring Darwin_64_32, $(PWD)))
auto-tester-build:
echo "Darwin_64_32_disabled"
else
auto-tester-build: toolchain-info
auto-tester-build:
$(QUIET)$(MAKE) -C src -f posix.mak auto-tester-build ENABLE_RELEASE=1
endif

View file

@ -222,7 +222,7 @@ alias autoTesterBuild = makeDep!((builder, dep) {
builder
.name("auto-tester-build")
.description("Run the autotester build")
.deps([dmdDefault, checkwhitespace]);
.deps([toolchainInfo, dmdDefault, checkwhitespace]);
version (Posix)
dep.deps ~= runCxxUnittest;