-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8cfa1d7
commit 8e38386
Showing
1 changed file
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
build: debug release | ||
build: restore debug release ## Compile for both debug and release builds | ||
|
||
debug: | ||
dotnet.exe restore -r win | ||
dotnet.exe build --no-restore -c Debug | ||
|
||
release: | ||
dotnet.exe restore -r win | ||
release: restore ## Compile a release build | ||
dotnet.exe build --no-restore -c Release | ||
|
||
commit: build | ||
git add --all | ||
git commit | ||
debug: restore ## Compile a debug build | ||
dotnet.exe build --no-restore -c Debug | ||
|
||
push: commit | ||
git push | ||
restore: ## Restore and verify nuget packages, dependencies, and tools in preparation for a build | ||
dotnet.exe restore -r win | ||
|
||
.PHONY: build debug release commit push | ||
# Follow any target line with two hashes and the description/helpline and `make help` will autogenerate for them | ||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-16s\033[0m %s\n", $$1, $$2}' | ||
|
||
.PHONY: restore debug release build help |