make fmt now only takes care of /internal and /cmd
This commit is contained in:
parent
a69d6f798f
commit
891870b05e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue