Skip to content

Commit

Permalink
codengen: go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Sep 26, 2023
1 parent 16e3f6b commit dd425b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea/*
bin
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ CODEGENFILE="set_aggregation_opts.go"
.PHONY: codegen
codegen:
$(BINDIR)/codegen -output ./tsplot/$(CODEGENFILE)
go fmt ./tsplot/$(CODEGENFILE)

.PHONY: codegendiff
codegendiff:
diff ./tsplot/$(CODEGENFILE) <($(BINDIR)/codegen -stdout)
diff ./tsplot/$(CODEGENFILE) <($(BINDIR)/codegen -stdout | gofmt)

0 comments on commit dd425b4

Please sign in to comment.