about summary refs log tree commit diff
path: root/templates/go/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-01-21 13:17:57 -0800
committerFranck Cuny <franck@fcuny.net>2024-01-21 13:22:35 -0800
commite6ed56c9b5844e2317d83ac55b64a78ff068f189 (patch)
treee8b44874566df80a1444b34be687323f1774ee5e /templates/go/Makefile
parentchore: update flake (diff)
downloadworld-e6ed56c9b5844e2317d83ac55b64a78ff068f189.tar.gz
delete all the templates
This is too much work to maintain, and I'm going to put all my tools
and scripts in this repository, so I won't need that anymore.
Diffstat (limited to 'templates/go/Makefile')
-rw-r--r--templates/go/Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/templates/go/Makefile b/templates/go/Makefile
deleted file mode 100644
index 34fe639..0000000
--- a/templates/go/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-.PHONY: build run clean
-
-BUILD_DIR=bin
-PROGRAM_FILE=fixproject
-VERSION=$(shell git describe --tag --always)
-BUILD_DATE ?= $(shell TZ=UTC0 git show -s --format=%cd --date=format-local:'%Y-%m-%dT%H:%M:%SZ' HEAD)
-
-build:
-	@go build \
-		-o ${BUILD_DIR}/${PROGRAM_FILE} \
-		-ldflags "-X main.Version=${VERSION} -X main.BuildDate=${BUILD_DATE}" \
-		-trimpath main.go
-
-run: build
-	@./${BUILD_DIR}/${PROGRAM_FILE}
-
-clean:
-	@go clean
-	@rm -rf ${BUILD_DIR}/${PROGRAM_FILE}