diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 06:18:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 06:33:14 -0500 |
| commit | 37e10c58d67cb1abb15c2f345f4e6800ab7065b2 (patch) | |
| tree | e5676c7c5bc20c09dce2c31a72fc01174175da02 /Makefile | |
| parent | a7d9ba18a64d53010c08285c14804c07b4e8c8fb (diff) | |
hammering it into form
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -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) |
