Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

22 lines
680 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 restore ../monolinker.sln
# A hack for project.assets.json issues
rm -f ../external/cecil/obj/project.assets.json
rm -f ../external/cecil/symbols/pdb/obj/project.assets.json
rm -f ../external/cecil/symbols/mdb/obj/project.assets.json
rm -f ../src/linker/obj/project.assets.json
check: prepare
mono ../packages/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe --result="TestResults.xml;format=nunit2" ../test/Mono.Linker.Tests/bin/$(CONFIGURATION)/Mono.Linker.Tests.dll