diff --git a/.gitignore b/.gitignore index 1c2d52b..e76554f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea/* +bin diff --git a/Makefile b/Makefile index 3664c77..53bec58 100644 --- a/Makefile +++ b/Makefile @@ -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)