2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-04 04:33:23 +00:00

build: build-dev -> dev, add hilbiline

This commit is contained in:
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

@ -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"