summaryrefslogtreecommitdiff
path: root/Makefile
blob: 87304cc78e26b8cb01b32b428f17378f44516f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.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 ./...