Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

22 lines
707 B
Makefile

MSBUILD = msbuild
CONFIGURATION = Debug
all: build check
build: prepare
$(MSBUILD) ../monolinker.sln /p:Configuration=$(CONFIGURATION)
clean:
$(MSBUILD) ../monolinker.sln /t:clean
prepare:
nuget help | head -1
nuget restore ../external/cecil/
nuget restore ../monolinker.sln
# The nunit runner used below seems to expect the old package layout.
# This could potentially be removed with an update to nunit.
nuget restore -PackagesDirectory ../packages ../test/Mono.Linker.Tests/packages.config
check: prepare
mono ../packages/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe --result="TestResults.xml;format=nunit2" ../test/Mono.Linker.Tests/bin/$(CONFIGURATION)/net471/Mono.Linker.Tests.dll