about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-28 19:36:20 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-28 19:36:20 -0700
commit2883c1922662c49a7e56b658d6a4f4e001288829 (patch)
treece87ff945b13f881a12430393e2364d89fe19d7d
parentreplaced with https://github.com/fcuny/x509-info (diff)
downloadworld-2883c1922662c49a7e56b658d6a4f4e001288829.tar.gz
delete more unused things
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yaml3
-rw-r--r--Makefile25
2 files changed, 1 insertions, 27 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 35ccb6b..0321f75 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -29,6 +29,3 @@ jobs:
       - run: nix flake check
       - run: nix develop -c echo OK
       - run: nix develop -c make build-environment
-      - run: nix develop -c make all
-      - run: ./bin/x509-info github.com
-      - run: ./bin/flake-info
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/