go-template/Makefile

12 lines
132 B
Makefile

.PHONY: build run
build:
go build -o ./out/main cmd/main.go
run:
@chmod +x ./out/main
./out/main
ci:
golangci-lint run --fix