Add Makefile
This commit is contained in:
parent
dab37c239b
commit
d7c07d1ff1
|
@ -0,0 +1,10 @@
|
||||||
|
.PHONY: *
|
||||||
|
|
||||||
|
help: ## display this help
|
||||||
|
@awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m <target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
|
||||||
|
|
||||||
|
tests: ## run all tests
|
||||||
|
dotnet test MultiversalDiplomacyTests
|
||||||
|
|
||||||
|
test: ## name=[test name]: run a single test with logging
|
||||||
|
dotnet test MultiversalDiplomacyTests -l "console;verbosity=normal" --filter $(name)
|
Loading…
Reference in New Issue