From ba020cdb3765a9ce734a8fea4ba484258dbb6f8b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 8 Jan 2024 22:34:08 -0600 Subject: go.wit.com/log NewFlag() Signed-off-by: Jeff Carr --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0c35f00..b1ae8ec 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,18 @@ .PHONY: debian + run: build # ./control-panel-dns >/tmp/witgui.log.stderr 2>&1 cp -f control-panel-dns ~/ ./control-panel-dns --tmp-log -redomod: +check-git-clean: + @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) + +redomod: check-git-clean rm -f go.* - go mod init - go mod tidy + GO111MODULE= go mod init + GO111MODULE= go mod tidy install: go install -v go.wit.com/control-panel-dns@latest -- cgit v1.2.3