2017-02-02 23:58:12 +03:00
|
|
|
CONFIGURATION = Release
|
|
|
|
BIN = bin/$(CONFIGURATION)
|
|
|
|
MDOC = $(BIN)/mdoc.exe
|
2019-10-14 21:27:31 +03:00
|
|
|
ENVIRONMENT = notwsl#use 'wsl' when running on wsl
|
2017-02-02 23:58:12 +03:00
|
|
|
|
2017-10-19 21:03:15 +03:00
|
|
|
all: build
|
2017-02-02 23:58:12 +03:00
|
|
|
|
|
|
|
build: $(MDOC)
|
|
|
|
|
2017-04-22 12:30:38 +03:00
|
|
|
$(MDOC):
|
2022-07-22 03:20:54 +03:00
|
|
|
dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION)
|
2017-02-02 23:58:12 +03:00
|
|
|
|
|
|
|
prepare:
|
|
|
|
git submodule update --init --recursive
|
2022-07-22 03:20:54 +03:00
|
|
|
dotnet restore apidoctools.sln
|
2017-06-01 18:47:21 +03:00
|
|
|
nuget install NUnit.Console -version 3.6.0 -NoCache -o packages
|
2017-02-02 23:58:12 +03:00
|
|
|
|
|
|
|
clean:
|
2022-07-22 03:20:54 +03:00
|
|
|
dotnet build -v:n apidoctools.sln /t:clean /p:Configuration=$(CONFIGURATION)
|
2017-02-02 23:58:12 +03:00
|
|
|
rm -rf bin/$(CONFIGURATION)
|
|
|
|
|
|
|
|
check: build check-monodoc check-mdoc
|
|
|
|
|
|
|
|
check-mdoc:
|
2018-04-07 03:24:31 +03:00
|
|
|
cd mdoc; $(MAKE) check -B
|
2017-02-02 23:58:12 +03:00
|
|
|
|
2017-10-11 00:27:57 +03:00
|
|
|
nuget:
|
|
|
|
nuget pack mdoc/mdoc.nuspec -outputdirectory bin/Nuget
|
|
|
|
|
2017-02-02 23:58:12 +03:00
|
|
|
check-monodoc:
|
2018-04-07 03:24:31 +03:00
|
|
|
cd monodoc; $(MAKE) check -B
|
2020-07-08 18:09:34 +03:00
|
|
|
|
|
|
|
zip:
|
|
|
|
rm -f $(BIN)/mdoc*.zip
|
|
|
|
zip -j $(BIN)/mdoc.zip $(BIN)/*
|
2019-10-14 21:27:31 +03:00
|
|
|
|