this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add a fmt target

Also removes trailing whitespace

+5 -1
+5 -1
Makefile
··· 3 3 BINARY_NAME=tumble 4 4 BUILD_DIR=bin 5 5 6 - .PHONY: all build clean test deps docs kill restart reset-db load-fixtures build-linux help 6 + .PHONY: all build clean test deps docs kill restart reset-db load-fixtures build-linux help fmt 7 7 8 8 all: build ## Build the binary (default) 9 9 10 10 deps: ## Download dependencies 11 11 go mod download 12 + 13 + fmt: ## Run go fmt and cleanup whitespace 14 + go fmt ./... 15 + find internal/templates -type f \( -name "*.html" -o -name "*.xml" \) -exec sed -i '' 's/[ \t]*$$//' {} + 12 16 13 17 GIT_COMMIT=$(shell git rev-parse --short HEAD) 14 18 LDFLAGS=-ldflags "-X tumble/internal/version.CommitHash=$(GIT_COMMIT)"