build: build-dev -> dev, add hilbiline

pull/59/head
sammyette 2021-05-17 19:04:20 -04:00
parent e0851809ab
commit 03eefdc02e
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 5 additions and 2 deletions

View File

@ -6,8 +6,11 @@ LIBDIR ?= $(PREFIX)/share/hilbish
build:
@go build
build-dev:
@go build -ldflags "-X main.version=$(git describe --tags)"
dev:
@go build -ldflags "-X main.version=$(shell git describe --tags)"
hilbiline:
@go build -ldflags "-X main.version=$(shell git describe --tags)+hilbiline" -tags hilbiline
install:
@install -v -d "$(DESTDIR)$(BINDIR)/" && install -m 0755 -v hilbish "$(DESTDIR)$(BINDIR)/hilbish"