make fmt now only takes care of /internal and /cmd

This commit is contained in:
Michael Mayer 2018-10-31 12:57:37 +01:00
parent a69d6f798f
commit 891870b05e

View file

@ -36,7 +36,7 @@ start:
migrate:
$(GORUN) cmd/photoprism/photoprism.go migrate
test:
$(GOTEST) -v ./...
$(GOTEST) -v ./internal/...
clean:
$(GOCLEAN)
rm -f $(BINARY_NAME)
@ -46,7 +46,7 @@ docker-push:
scripts/docker-push.sh
fmt:
$(GOIMPORTS) -w internal cmd
$(GOFMT) ./...
$(GOFMT) ./internal/... ./cmd/...
dep:
$(GOBUILD) -v ./...
$(GOMOD) tidy