mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Makefile: Add "fmt-swag" alias for "swag-fmt"
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
3
Makefile
3
Makefile
@@ -99,7 +99,7 @@ show-rev:
|
|||||||
show-build:
|
show-build:
|
||||||
@echo "$(BUILD_TAG)"
|
@echo "$(BUILD_TAG)"
|
||||||
test-all: test acceptance-run-chromium
|
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
|
clean-local: clean-local-config clean-local-cache
|
||||||
upgrade: dep-upgrade-js dep-upgrade
|
upgrade: dep-upgrade-js dep-upgrade
|
||||||
devtools: install-go dep-npm
|
devtools: install-go dep-npm
|
||||||
@@ -949,6 +949,7 @@ fmt-go:
|
|||||||
go fmt ./pkg/... ./internal/... ./cmd/... ./.../internal/...
|
go fmt ./pkg/... ./internal/... ./cmd/... ./.../internal/...
|
||||||
gofmt -w -s pkg internal cmd
|
gofmt -w -s pkg internal cmd
|
||||||
goimports -w -local "github.com/photoprism" pkg internal cmd
|
goimports -w -local "github.com/photoprism" pkg internal cmd
|
||||||
|
fmt-swag: swag-fmt
|
||||||
tidy:
|
tidy:
|
||||||
go mod tidy
|
go mod tidy
|
||||||
users:
|
users:
|
||||||
|
|||||||
Reference in New Issue
Block a user