forked from EslaMx7/ScreenTask
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 544 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 544 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SOLUTION = ScreenTask.sln
EXE = ScreenTask/bin/Release/ScreenTask.exe
.PHONY: build debug clean run format
## build release binary (default)
build:
msbuild $(SOLUTION) /p:Configuration=Release /v:minimal
## build debug binary
debug:
msbuild $(SOLUTION) /p:Configuration=Debug /v:minimal
## clean all build outputs
clean:
msbuild $(SOLUTION) /t:Clean /v:minimal
## build release then launch (requires admin - UAC prompt will appear)
run: build
$(EXE)
## run dotnet format
format:
dotnet format $(SOLUTION) --verbosity diagnostic