Skip to content

Commit

Permalink
makefile: add goimport and gofumpt for _callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Nov 16, 2024
1 parent c95cc25 commit 9a41bc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ define generate
go run mvdan.cc/gofumpt@latest -w $(2)/$(1)_enums.go
go run mvdan.cc/gofumpt@latest -w $(2)/$(1)_funcs.go
go run mvdan.cc/gofumpt@latest -w $(2)/$(1)_typedefs.go
go run mvdan.cc/gofumpt@latest -w $(2)/$(1)_callbacks.go
go run golang.org/x/tools/cmd/goimports@latest -w $(2)/$(1)_funcs.go
go run golang.org/x/tools/cmd/goimports@latest -w $(2)/$(1)_typedefs.go
go run golang.org/x/tools/cmd/goimports@latest -w $(2)/$(1)_enums.go
go run golang.org/x/tools/cmd/goimports@latest -w $(2)/$(1)_typedefs.go
go run golang.org/x/tools/cmd/goimports@latest -w $(2)/$(1)_callbacks.go
endef

define cimgui
Expand Down

0 comments on commit 9a41bc1

Please sign in to comment.