mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 01:59:29 +02:00
Manage gotext as a tool with go.mod
This commit is contained in:
parent
5f9c0f24ab
commit
329f696b55
2 changed files with 7 additions and 2 deletions
7
go.mod
7
go.mod
|
@ -2,7 +2,7 @@ module go.uploadedlobster.com/scotty
|
|||
|
||||
go 1.23.0
|
||||
|
||||
toolchain go1.23.8
|
||||
toolchain go1.24.2
|
||||
|
||||
require (
|
||||
github.com/Xuanwo/go-locale v1.1.3
|
||||
|
@ -57,8 +57,11 @@ require (
|
|||
github.com/spf13/pflag v1.0.6 // indirect
|
||||
github.com/subosito/gotenv v1.6.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
golang.org/x/mod v0.24.0 // indirect
|
||||
golang.org/x/net v0.39.0 // indirect
|
||||
golang.org/x/sync v0.13.0 // indirect
|
||||
golang.org/x/sys v0.32.0 // indirect
|
||||
golang.org/x/tools v0.32.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
gorm.io/driver/mysql v1.5.7 // indirect
|
||||
modernc.org/libc v1.62.1 // indirect
|
||||
|
@ -66,3 +69,5 @@ require (
|
|||
modernc.org/memory v1.9.1 // indirect
|
||||
modernc.org/sqlite v1.37.0 // indirect
|
||||
)
|
||||
|
||||
tool golang.org/x/text/cmd/gotext
|
||||
|
|
|
@ -6,4 +6,4 @@ package are published under the conditions of CC0 1.0 Universal (CC0 1.0)
|
|||
|
||||
package translations
|
||||
|
||||
//go:generate gotext -srclang=en update -out=catalog.go -lang=en,de go.uploadedlobster.com/scotty
|
||||
//go:generate go tool gotext -srclang=en update -out=catalog.go -lang=en,de go.uploadedlobster.com/scotty
|
||||
|
|
Loading…
Add table
Reference in a new issue