Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile
This commit is contained in:
8
pkg/can-go/tools/stringer/rules.mk
Normal file
8
pkg/can-go/tools/stringer/rules.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
stringer_cwd := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
stringer := $(stringer_cwd)/bin/stringer
|
||||
PATH := $(PATH):$(dir $(stringer))
|
||||
|
||||
$(stringer): $(stringer_cwd)/go.mod
|
||||
@echo building stringer...
|
||||
@cd $(stringer_cwd) && go build -o $@ golang.org/x/tools/cmd/stringer
|
||||
@cd $(stringer_cwd) && go mod tidy
|
||||
Reference in New Issue
Block a user