Fix gitlab CI to work with multiple client .go files

This commit is contained in:
Cecylia Bocovich 2022-04-11 11:50:36 -04:00
parent d807e9d370
commit aab806429f
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ android:
- cd $CI_PROJECT_DIR/client
# gomobile builds a shared library not a CLI executable
- sed -i 's,^package main$,package snowflakeclient,' snowflake.go
- sed -i 's,^package main$,package snowflakeclient,' *.go
- go get golang.org/x/mobile/bind
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .

2
go.mod
View file

@ -14,7 +14,7 @@ require (
github.com/pion/webrtc/v3 v3.0.15
github.com/prometheus/client_golang v1.10.0
github.com/prometheus/client_model v0.2.0
github.com/refraction-networking/utls v1.0.0 // indirect
github.com/refraction-networking/utls v1.0.0
github.com/smartystreets/goconvey v1.6.4
github.com/stretchr/testify v1.7.0 // indirect
github.com/xtaci/kcp-go/v5 v5.6.1