diff options
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) |
