Skip to content

Commit

Permalink
Fix: go mod and build script allowed platform
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 28, 2023
1 parent 9471721 commit e3f0dab
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 123 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function BuildAll() {
else
for platform in $(echo "$1" | tr "," "\n"); do
if [ "$platform" == "all" ]; then
BuildAll "$ALLOWD_PLATFORM"
BuildAll "$ALLOWED_PLATFORM"
elif [ "$platform" == "linux" ]; then
BuildAll "$LINUX_ALLOWED_PLATFORM"
elif [ "$platform" == "darwin" ]; then
Expand Down
30 changes: 14 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ module github.com/synctv-org/synctv

go 1.21

toolchain go1.21.4

require (
github.com/caarlos0/env/v9 v9.0.0
github.com/cavaliergopher/grab/v3 v3.0.1
github.com/gin-contrib/cors v1.4.0
github.com/gin-contrib/cors v1.5.0
github.com/gin-gonic/gin v1.9.1
github.com/glebarez/sqlite v1.10.0
github.com/go-kratos/aegis v0.2.0
github.com/go-kratos/kratos/contrib/registry/consul/v2 v2.0.0-20231122041305-e84cddeabddb
github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-20231122041305-e84cddeabddb
github.com/go-kratos/kratos/contrib/registry/consul/v2 v2.0.0-20231127154351-cdb9e99968f7
github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-20231127154351-cdb9e99968f7
github.com/go-kratos/kratos/v2 v2.7.1
github.com/go-resty/resty/v2 v2.10.0
github.com/golang-jwt/jwt/v4 v4.5.0
Expand All @@ -39,9 +37,9 @@ require (
github.com/zijiren233/stream v0.5.1
github.com/zijiren233/yaml-comment v0.2.1
go.etcd.io/etcd/client/v3 v3.5.10
golang.org/x/crypto v0.15.0
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
golang.org/x/oauth2 v0.14.0
golang.org/x/crypto v0.16.0
golang.org/x/exp v0.0.0-20231127185646-65229373498e
golang.org/x/oauth2 v0.15.0
google.golang.org/grpc v1.59.0
google.golang.org/protobuf v1.31.0
gopkg.in/yaml.v3 v3.0.1
Expand Down Expand Up @@ -75,7 +73,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect
github.com/google/pprof v0.0.0-20231127191134-f3a68a39ae15 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
Expand Down Expand Up @@ -119,17 +117,17 @@ require (
go.uber.org/zap v1.26.0 // indirect
golang.org/x/arch v0.6.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.15.0 // indirect
golang.org/x/tools v0.16.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/genproto v0.0.0-20231127180814-3a041ad873d4 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
modernc.org/libc v1.34.9 // indirect
modernc.org/libc v1.34.11 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/sqlite v1.27.0 // indirect
Expand Down
Loading

0 comments on commit e3f0dab

Please sign in to comment.