1 2 3 4 5 6 7 8 9 10 11 12 13
.PHONY: setconfig run lint run: setconfig go build -o elefant && ./elefant server: setconfig go build -o elefant && ./elefant -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 ./...