ef583813eb
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
22 lines
707 B
Makefile
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
|