From 37e10c58d67cb1abb15c2f345f4e6800ab7065b2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 14 Oct 2025 06:18:38 -0500 Subject: hammering it into form --- Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bf9c4e6..6010aad 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,10 @@ VERSION = $(shell git describe --tags) GUIVERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%s) -all: reset goimports vet install - mirrors everything +all: goimports vet build + cp ~/.config/mirrors/config.text . + rm -f ~/go/bin/mirrors + ./mirrors newest find: find /var/lib/apt/lists/mi* /home/mirrors/wit/dists -type f |xargs ls -l @@ -22,8 +24,6 @@ build: goimports build-verbose: GO111MODULE=off go build -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -reset: - reset install: goimports GO111MODULE=off go install \ @@ -42,10 +42,7 @@ goimports: clean: rm -f go.* *.deb mirrors go-mod-clean purge - rm -rf /home/mirrors/wit/dists/ - -gpl: - wit-test --witcom + # rm -rf /home/mirrors/wit/dists/ check-git-clean: @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) -- cgit v1.2.3