auth/Makefile

25 lines
363 B
Makefile
Raw Normal View History

SHELL:=/bin/bash
PROJECT_NAME=indieauth
VERSION=$(shell cat VERSION)
2022-02-25 13:34:58 +00:00
GO_BUILD_ENV=CGO_ENABLED=0 GOOS=linux GOARCH=amd64
GO_FILES=$(shell go list ./... | grep -v /vendor/)
build:
$(GO_BUILD_ENV) go build .
run:
go run .
clean:
go clean
test:
go test -race -cover ./...
dep:
go mod download
lint:
golangci-lint run
.PHONY: build run clean test dep lint