2017-08-21 15:34:15 +00:00
|
|
|
MSBUILD = msbuild
|
|
|
|
CONFIGURATION = Release
|
|
|
|
BIN = bin/$(CONFIGURATION)
|
|
|
|
MDOC = $(BIN)/mdoc.exe
|
|
|
|
|
|
|
|
all: build
|
|
|
|
|
|
|
|
build: $(MDOC)
|
|
|
|
|
|
|
|
$(MDOC):
|
2019-09-24 08:53:40 +00:00
|
|
|
$(MSBUILD) apidoctools.sln /p:Configuration=$(CONFIGURATION);
|
2017-08-21 15:34:15 +00:00
|
|
|
|
|
|
|
prepare:
|
|
|
|
git submodule update --init --recursive
|
|
|
|
nuget restore apidoctools.sln
|
2019-09-24 08:53:40 +00:00
|
|
|
nuget install NUnit.Console -version 3.6.0 -NoCache -o packages
|
2017-08-21 15:34:15 +00:00
|
|
|
|
|
|
|
clean:
|
2019-09-24 08:53:40 +00:00
|
|
|
#$(MSBUILD) apidoctools.sln /t:clean
|
2017-08-21 15:34:15 +00:00
|
|
|
rm -rf bin/$(CONFIGURATION)
|
|
|
|
|
|
|
|
check: build check-monodoc check-mdoc
|
|
|
|
|
|
|
|
check-mdoc:
|
2019-09-24 08:53:40 +00:00
|
|
|
cd mdoc; $(MAKE) check -B
|
|
|
|
|
|
|
|
nuget:
|
|
|
|
nuget pack mdoc/mdoc.nuspec -outputdirectory bin/Nuget
|
2017-08-21 15:34:15 +00:00
|
|
|
|
|
|
|
check-monodoc:
|
2019-09-24 08:53:40 +00:00
|
|
|
cd monodoc; $(MAKE) check -B
|