From 5a82ed727f38b8148b84b3a97f540e6bb3fcb2b2 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Thu, 12 Dec 2024 19:00:17 +0300 Subject: Chore: makefile update --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 41d7962..ec1cfa7 100644 --- a/Makefile +++ b/Makefile @@ -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 ./... -- cgit v1.2.3