fiber_docs/Makefile

18 lines
309 B
Makefile
Raw Permalink Normal View History

2023-04-11 20:43:48 +00:00
PROJECT_NAME := "fibers"
PKG := "github.com/long2ice/$(PROJECT_NAME)"
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ )
lint:
@golint -set_exit_status ${PKG_LIST}
dep:
@go get -v -d ./...
build: dep
@go build -v $(PKG)
clean:
@rm -f $(PROJECT_NAME)
format:
@gofumpt -l -w . && golines . -w