Makefile (299B)
1 GO ?= go 2 3 .PHONY: build deps lint install 4 5 all: build 6 7 deps: 8 $(GO) mod download 9 10 build: deps 11 $(GO) build -ldflags "-X fes/modules/version.gitCommit=$(shell git rev-parse --short HEAD)" -o fes 12 @echo "Fes is now built to ./fes" 13 14 lint: 15 $(GO) vet ./... 16 $(GO) fmt ./... 17 18 install: 19 $(GO) install fes