Revert "Refactor file formatting target (#1941)" (#1949)

This reverts commit 9029720664. It
was causing unexpected errors on some platforms. More investigation
will be necessary.
pull/1951/head
Johan Brandhorst-Satzkorn 4 years ago committed by GitHub
parent 5bdc371fa1
commit 63d3481031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,11 +48,9 @@ build: build-ui-ifne
install: export BOUNDARY_INSTALL_BINARY=1
install: build
# Format Go files, ignoring files marked as generated through the header defined at
# https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source
.PHONY: fmt
fmt:
grep -L -R "^\/\/ Code generated .* DO NOT EDIT\.$$" --exclude-dir=.git --include="*.go" | xargs gofumpt -w
gofumpt -w $$(find . -name '*.go' | grep -v pb.go | grep -v pb.gw.go)
# Set env for all UI targets.
UI_TARGETS := update-ui-version build-ui build-ui-ifne

Loading…
Cancel
Save