-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 553 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 553 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: init build test run clean lint
init: ## Tools und Abhängigkeiten wiederherstellen
dotnet restore
dotnet tool restore
build: ## Kompiliert das Projekt
dotnet build --no-restore
run: ## Startet die API
dotnet run --project src/Api/Api.csproj
test: ## Führt Tests mit Coverage aus
dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
lint: ## Prüft Code-Style und Formatierung
dotnet format --verify-no-changes
dotnet build -t:Rebuild -warnaserror
clean: ## Löscht Binaries
dotnet clean
rm -rf **/bin **/obj