diff --git a/Makefile b/Makefile index 448077c8..49d797f5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 3.2.1 using next command: +# This Makefile generated by GoMakeGen 3.2.3 using next command: # gomakegen --mod . # # More info: https://kaos.sh/gomakegen @@ -67,19 +67,22 @@ gen-fuzz: ## Generate archives for fuzz testing @go-fuzz-build -o parser-fuzz.zip github.com/essentialkaos/bibop/parser mod-init: - @echo "[1/2] Modules initialization…" + @echo "[1/3] Modules initialization…" + @rm -f go.mod go.sum ifdef MODULE_PATH ## Module path for initialization (String) @go mod init $(MODULE_PATH) else @go mod init endif - @echo "[2/2] Dependencies cleanup…" + @echo "[2/3] Dependencies cleanup…" ifdef COMPAT ## Compatible Go version (String) @go mod tidy $(VERBOSE_FLAG) -compat=$(COMPAT) -go=$(COMPAT) else @go mod tidy $(VERBOSE_FLAG) endif + @echo "[3/3] Stripping toolchain info…" + @grep -q 'toolchain ' go.mod && go mod edit -toolchain=none || : mod-update: @echo "[1/4] Updating dependencies…" @@ -132,6 +135,6 @@ help: ## Show this info | sort -h \ | awk 'BEGIN {FS = " .*?## "}; {printf " \033[32m%-13s\033[0m %s\n", $$1, $$2}' @echo -e '' - @echo -e '\033[90mGenerated by GoMakeGen 3.2.1\033[0m\n' + @echo -e '\033[90mGenerated by GoMakeGen 3.2.3\033[0m\n' ################################################################################