Xamarin Public Jenkins (auto-signing) 8fc30896db Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
2018-04-24 09:31:23 +00:00

22 lines
627 B
Makefile

MSBUILD = msbuild
CONFIGURATION = Debug
all: build check
build: prepare
$(MSBUILD) ../linker.sln /p:Configuration=$(CONFIGURATION)
clean:
$(MSBUILD) ../linker.sln /t:clean
prepare:
nuget restore ../linker.sln
# A hack for project.assets.json issues
rm -f ../cecil/obj/project.assets.json
rm -f ../cecil/symbols/pdb/obj/project.assets.json
rm -f ../cecil/symbols/mdb/obj/project.assets.json
rm -f ../linker/obj/project.assets.json
check: prepare
mono ../packages/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe --result="TestResults.xml;format=nunit2" ../linker/Tests/bin/$(CONFIGURATION)/Mono.Linker.Tests.dll