Files
ghorg/Makefile
6543 f5f10e7d22 Refactor: Client use interface implementation (#97)
* add `make fmt` to format go code
* use interface
* move all SCM things into scm package
2020-10-11 16:53:53 -07:00

17 lines
381 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)