diff options
author | Grail Finder <wohilas@gmail.com> | 2024-12-12 19:00:17 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2024-12-12 19:00:17 +0300 |
commit | 5a82ed727f38b8148b84b3a97f540e6bb3fcb2b2 (patch) | |
tree | 71f77b5efee9ca4d65853c5cc2eea78baff10522 | |
parent | ed5cb75134019a7ba063a13b5ff6f9cd296c80dd (diff) |
Chore: makefile update
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 ./... |