I believe that all functionality is implemented

This commit is contained in:
2022-01-21 08:40:44 -06:00
parent 54c91f0d3c
commit 45d13e7052
12 changed files with 333 additions and 72 deletions

View File

@@ -1,6 +1,18 @@
# This how we want to name the binary output
BINARY=gime
# These are the values we want to pass for VERSION and BUILD
# git tag 1.0.1
# git commit -am "One more change after the tags"
VERSION=`git describe --tags`
BUILD=`date +%FT%T%z`
# Setup the -ldflags option for go build here, interpolate the variable values
LDFLAGS=-ldflags "-w -s -X cmd.Version=${VERSION} -X cmd.Build=${BUILD}"
# Builds the project
gime:
go build -o build/gime *.go
go build ${LDFLAGS} -o build/${BINARY}
clean:
rm build/*