go-shrt

Shortlinks and go-get redirects
git clone git://git.danielmoch.com/go-shrt.git
Log | Files | Refs | README | LICENSE

commit 9fe49f85e6c42c8657fa79957815db1dadd6671d
parent d37271cb0d749d32860212f8f199bc9001f984c7
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 22 Dec 2020 09:45:33 -0500

shrt v0.2.0

Diffstat:
MMakefile | 2+-
Mconfig.mk | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,7 +5,7 @@ include config.mk all: shrt -go.mod: cmd/shrt/*.go *.go +go.mod: ${SRC} ${GO} mod tidy @touch go.mod diff --git a/config.mk b/config.mk @@ -2,9 +2,9 @@ PREFIX := /usr/local MANPATH := ${PREFIX}/man -SRC = cmd/shrt/main.go shrtfile.go -DIST_SRC = cmd shrtfile.go Makefile config.mk shrt.1 shrtfile.5 README LICENSE go.mod go.sum -VERSION := 0.1.1-dev0 +SRC = cmd/shrt/*.go *.go +DIST_SRC = cmd *.go Makefile config.mk shrt.1 shrtfile.5 README LICENSE go.mod go.sum +VERSION := 0.2.0 GO_LDFLAGS := "-X main.version=${VERSION}" GO := go