Chore: makefile update

This commit is contained in:
Grail Finder
2024-12-12 19:00:17 +03:00
parent ed5cb75134
commit 5a82ed727f

View File

@@ -1,2 +1,10 @@
.PHONY: setconfig run lint
run: setconfig
go build -o elefant && ./elefant
setconfig:
find config.toml &>/dev/null || cp config.example.toml config.toml
lint: ## Run linters. Use make install-linters first.
golangci-lint run -c .golangci.yml ./...