mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Remove tools.go
This commit is contained in:
parent
b5c61d6db8
commit
d950a2b25b
2
Makefile
2
Makefile
@ -47,7 +47,7 @@ lintall: lint ##@Development Lint Go and JS code
|
|||||||
|
|
||||||
format: ##@Development Format code
|
format: ##@Development Format code
|
||||||
@(cd ./ui && npm run prettier)
|
@(cd ./ui && npm run prettier)
|
||||||
@go run golang.org/x/tools/cmd/goimports -w `find . -name '*.go' | grep -v _gen.go$$`
|
@go run golang.org/x/tools/cmd/goimports@latest -w `find . -name '*.go' | grep -v _gen.go$$`
|
||||||
@go mod tidy
|
@go mod tidy
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# This script does not handle file names that contain spaces.
|
# This script does not handle file names that contain spaces.
|
||||||
|
|
||||||
gofmtcmd="go run golang.org/x/tools/cmd/goimports"
|
gofmtcmd="go run golang.org/x/tools/cmd/goimports@latest"
|
||||||
|
|
||||||
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v '_gen.go$')
|
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v '_gen.go$')
|
||||||
[ -z "$gofiles" ] && exit 0
|
[ -z "$gofiles" ] && exit 0
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -117,9 +117,9 @@ require (
|
|||||||
golang.org/x/crypto v0.15.0 // indirect
|
golang.org/x/crypto v0.15.0 // indirect
|
||||||
golang.org/x/exp/shiny v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
|
golang.org/x/exp/shiny v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
|
||||||
golang.org/x/mobile v0.0.0-20230427221453-e8d11dd0ba41 // indirect
|
golang.org/x/mobile v0.0.0-20230427221453-e8d11dd0ba41 // indirect
|
||||||
golang.org/x/mod v0.14.0 // indirect
|
|
||||||
golang.org/x/net v0.18.0 // indirect
|
golang.org/x/net v0.18.0 // indirect
|
||||||
golang.org/x/sys v0.14.0 // indirect
|
golang.org/x/sys v0.14.0 // indirect
|
||||||
|
golang.org/x/tools v0.15.0 // indirect
|
||||||
google.golang.org/protobuf v1.31.0 // indirect
|
google.golang.org/protobuf v1.31.0 // indirect
|
||||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||||
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
|
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user