Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59360081f65b9f5809a98c7c8c3eb6b46b91869c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
CONFIGURATION = Release
BIN = bin/$(CONFIGURATION)
MDOC = $(BIN)/mdoc.exe
ENVIRONMENT = notwsl#use 'wsl' when running on wsl

all: build

build: $(MDOC)

$(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

zip:
	rm -f $(BIN)/mdoc*.zip
	zip -j $(BIN)/mdoc.zip $(BIN)/*