bugfixes
This commit is contained in:
21
Makefile
21
Makefile
@@ -5,16 +5,28 @@ help: ## Show the help.
|
||||
@echo "Targets:"
|
||||
@fgrep "##" Makefile | fgrep -v fgrep
|
||||
|
||||
.PHONY: buildrel
|
||||
buildrel: ## Format code.
|
||||
dotnet build -c Release project_name.sln
|
||||
|
||||
.PHONY: build
|
||||
build: ## Format code.
|
||||
dotnet build project_name.sln
|
||||
|
||||
.PHONY: publish
|
||||
publish: ## Format code.
|
||||
dotnet publish -c Release project_name.sln
|
||||
|
||||
.PHONY: fmt
|
||||
fmt: ## Format code.
|
||||
dotnet format project_name.sln
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## Lint code.
|
||||
lint: ## Lint code.
|
||||
dotnet format --verify-no-changes --verbosity diagnostic project_name.sln
|
||||
|
||||
.PHONY: test
|
||||
test: lint ## Run tests and generate coverage report.
|
||||
test: ## Run tests and generate coverage report.
|
||||
dotnet test project_name.sln
|
||||
|
||||
.PHONY: clean
|
||||
@@ -40,11 +52,6 @@ docs: ## Build the documentation.
|
||||
@$(ENV_PREFIX)mkdocs build
|
||||
URL="site/index.html"; xdg-open $$URL || sensible-browser $$URL || x-www-browser $$URL || gnome-open $$URL || open $$URL
|
||||
|
||||
.PHONY: init
|
||||
init: ## Initialize the project based on an application template.
|
||||
@./.gitea/init.sh
|
||||
|
||||
|
||||
# This project has been generated from rochacbruno/python-project-template
|
||||
# __author__ = 'rochacbruno'
|
||||
# __repo__ = https://github.com/rochacbruno/python-project-template
|
||||
|
||||
Reference in New Issue
Block a user