mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-01-20 15:51:01 +01:00
26 lines
496 B
Makefile
26 lines
496 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
|
|
|
|
|
|
.PHONY: examples
|
|
examples:
|
|
cp -rf examples/* cmd/examples-copy/
|