diff options
| author | Jeff Carr <[email protected]> | 2024-01-08 22:34:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-08 22:34:08 -0600 |
| commit | ba020cdb3765a9ce734a8fea4ba484258dbb6f8b (patch) | |
| tree | d1e8273bb5d125271c446a31d6b7f9de8b6913a0 /Makefile | |
| parent | 9b4bf224dcf4a7d29433be25e73d33b45b670d0b (diff) | |
go.wit.com/log NewFlag()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |
