large changes
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
GO ?= go
|
||||
|
||||
.PHONY: build deps lint install
|
||||
|
||||
all: build
|
||||
|
||||
deps:
|
||||
$(GO) mod download
|
||||
|
||||
build: deps
|
||||
$(GO) build -ldflags "-X fes/modules/version.gitCommit=$(shell git rev-parse --short HEAD)" -o fes
|
||||
@echo "Fes is now built to ./fes"
|
||||
|
||||
lint:
|
||||
$(GO) vet ./...
|
||||
$(GO) fmt ./...
|
||||
|
||||
install:
|
||||
$(GO) install fes
|
||||
Reference in New Issue
Block a user