forked from External/ergo
fix #1031
This commit is contained in:
parent
06b2cb2efc
commit
4291c5f4e3
2 changed files with 29 additions and 22 deletions
6
Makefile
6
Makefile
|
|
@ -1,14 +1,16 @@
|
|||
.PHONY: all install build release capdefs test smoke
|
||||
|
||||
GIT_COMMIT := $(shell git rev-parse --short=16 HEAD 2> /dev/null)
|
||||
|
||||
capdef_file = ./irc/caps/defs.go
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
go install -v
|
||||
go install -v -ldflags "-X main.commit=$(GIT_COMMIT)"
|
||||
|
||||
build:
|
||||
go build -v
|
||||
go build -v -ldflags "-X main.commit=$(GIT_COMMIT)"
|
||||
|
||||
release:
|
||||
goreleaser --skip-publish --rm-dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue