mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
Fix makefile
This commit is contained in:
parent
1a098f25a0
commit
76d55c2147
2
Makefile
2
Makefile
|
|
@ -2,7 +2,7 @@ INTERNAL_BIN_DIR=_internal_bin
|
|||
GOVERSION=$(shell go version)
|
||||
GOOS=$(word 1,$(subst /, ,$(lastword $(GOVERSION))))
|
||||
GOARCH=$(word 2,$(subst /, ,$(lastword $(GOVERSION))))
|
||||
VERSION=$(patsubst "%",%,$(lastword $(shell grep version peco.go)))
|
||||
VERSION=$(patsubst "%",%,$(lastword $(shell grep 'const version' peco.go)))
|
||||
RELEASE_DIR=releases
|
||||
ARTIFACTS_DIR=$(RELEASE_DIR)/artifacts/$(VERSION)
|
||||
SRC_FILES = $(wildcard *.go cmd/peco/*.go internal/*/*.go)
|
||||
|
|
|
|||
Loading…
Reference in a new issue