Skip to content

Commit

Permalink
Regenerate Makefile with the latest version of gomakegen
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 2, 2024
1 parent f7e5bcc commit 1743b02
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 "[37m[2/2][0m [36;1mDependencies cleanup…[0m"
@echo "[37m[2/3][0m [36;1mDependencies cleanup…[0m"
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…"
Expand Down Expand Up @@ -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'

################################################################################

0 comments on commit 1743b02

Please sign in to comment.