From 2883c1922662c49a7e56b658d6a4f4e001288829 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 28 Apr 2024 19:36:20 -0700 Subject: delete more unused things --- Makefile | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c051b5..92e4c1a 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,4 @@ -.PHONY: all build-binaries clean build-environment - -all: build-binaries - -BUILD_DIR=bin - -VERSION=$(shell git describe --tag --always --dirty) -BUILD_DATE ?= $(shell TZ=UTC0 date +%Y-%m-%dT%H:%M:%SZ) - -PKG:=github.com/fcuny/world - -BINARIES = bin/flake-info - -ALL_BINARIES = $(foreach binary, $(BINARIES), ./$(binary)) +.PHONY: build-environment build-environment: @./ci/build-environment.py - -bin/%: - go build -o $@ \ - -ldflags "-X $(PKG)/internal/version.Version=${VERSION} -X $(PKG)/internal/version.BuildDate=${BUILD_DATE}" \ - -trimpath ./cmd/$(subst -,,$*) - -build-binaries: $(ALL_BINARIES) - -clean: - rm -rf bin/ -- cgit 1.4.1