summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4e96ed5b6c990ef80c5b4e044882582cf09242e5 (plain)
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 ./...