api-doc-tools/Makefile

36 строки
748 B
Makefile
Исходник Обычный вид История

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
all: build
build: $(MDOC)
2017-04-22 12:30:38 +03:00
$(MDOC):
dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION)
prepare:
git submodule update --init --recursive
dotnet restore apidoctools.sln
nuget install NUnit.Console -version 3.6.0 -NoCache -o packages
clean:
dotnet build -v:n apidoctools.sln /t:clean /p:Configuration=$(CONFIGURATION)
rm -rf bin/$(CONFIGURATION)
check: build check-monodoc check-mdoc
check-mdoc:
cd mdoc; $(MAKE) check -B
nuget:
nuget pack mdoc/mdoc.nuspec -outputdirectory bin/Nuget
check-monodoc:
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