Files
ghorg/Makefile
2022-01-10 08:00:01 -08:00

21 lines
428 B
Makefile

GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
GOFMT ?= gofmt -s
.PHONY: install
install:
mkdir -p ${HOME}/.config/ghorg
cp sample-conf.yaml ${HOME}/.config/ghorg/conf.yaml
.PHONY: homebrew
homebrew:
mkdir -p ${HOME}/.config/ghorg
cp sample-conf.yaml ${HOME}/.config/ghorg/conf.yaml
.PHONY: fmt
fmt:
$(GOFMT) -w $(GOFILES)
.PHONY: release
release:
goreleaser release