File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# ###############################################################################
22
3- # This Makefile generated by GoMakeGen 3.2.1 using next command:
3+ # This Makefile generated by GoMakeGen 3.2.3 using next command:
44# gomakegen --mod .
55#
66# More info: https://kaos.sh/gomakegen
4848endif
4949
5050mod-init :
51- @echo " [37m[1/2][0m [36;1mModules initialization…[0m"
51+ @echo " [37m[1/3][0m [36;1mModules initialization…[0m"
52+ @rm -f go.mod go.sum
5253ifdef MODULE_PATH # # Module path for initialization (String)
5354 @go mod init $(MODULE_PATH)
5455else
5556 @go mod init
5657endif
5758
58- @echo "[37m[2/2 ][0m [36;1mDependencies cleanup…[0m"
59+ @echo "[37m[2/3 ][0m [36;1mDependencies cleanup…[0m"
5960ifdef COMPAT # # Compatible Go version (String)
6061 @go mod tidy $(VERBOSE_FLAG) -compat=$(COMPAT) -go=$(COMPAT)
6162else
6263 @go mod tidy $(VERBOSE_FLAG)
6364endif
65+ @echo "[37m[3/3][0m [36;1mStripping toolchain info…[0m"
66+ @grep -q 'toolchain ' go.mod && go mod edit -toolchain=none || :
6467
6568mod-update :
6669 @echo " [37m[1/4][0m [36;1mUpdating dependencies…[0m"
@@ -109,6 +112,6 @@ help: ## Show this info
109112 | sort -h \
110113 | awk ' BEGIN {FS = " .*?## "}; {printf " \033[32m%-13s\033[0m %s\n", $$1, $$2}'
111114 @echo -e ' '
112- @echo -e ' \033[90mGenerated by GoMakeGen 3.2.1 \033[0m\n'
115+ @echo -e ' \033[90mGenerated by GoMakeGen 3.2.3 \033[0m\n'
113116
114117# ###############################################################################
You can’t perform that action at this time.
0 commit comments