Files
gf-lt/Makefile
2025-05-21 19:55:14 +03:00

14 lines
310 B
Makefile

.PHONY: setconfig run lint
run: setconfig
go build -o gf-lt && ./gf-lt
server: setconfig
go build -o gf-lt && ./gf-lt -port 3333
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 ./...