mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-22 18:18:39 +00:00
Makefile: Add "fmt-swag" alias for "swag-fmt"
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
0cbfcea2e8
commit
602f059348
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -99,7 +99,7 @@ show-rev:
|
|||
show-build:
|
||||
@echo "$(BUILD_TAG)"
|
||||
test-all: test acceptance-run-chromium
|
||||
fmt: fmt-js fmt-go swag-fmt
|
||||
fmt: fmt-js fmt-go fmt-swag
|
||||
clean-local: clean-local-config clean-local-cache
|
||||
upgrade: dep-upgrade-js dep-upgrade
|
||||
devtools: install-go dep-npm
|
||||
|
|
@ -949,6 +949,7 @@ fmt-go:
|
|||
go fmt ./pkg/... ./internal/... ./cmd/... ./.../internal/...
|
||||
gofmt -w -s pkg internal cmd
|
||||
goimports -w -local "github.com/photoprism" pkg internal cmd
|
||||
fmt-swag: swag-fmt
|
||||
tidy:
|
||||
go mod tidy
|
||||
users:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue