mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Fix gitlab CI to work with multiple client .go files
This commit is contained in:
parent
d807e9d370
commit
aab806429f
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ android:
|
||||||
|
|
||||||
- cd $CI_PROJECT_DIR/client
|
- cd $CI_PROJECT_DIR/client
|
||||||
# gomobile builds a shared library not a CLI executable
|
# 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
|
- go get golang.org/x/mobile/bind
|
||||||
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -14,7 +14,7 @@ require (
|
||||||
github.com/pion/webrtc/v3 v3.0.15
|
github.com/pion/webrtc/v3 v3.0.15
|
||||||
github.com/prometheus/client_golang v1.10.0
|
github.com/prometheus/client_golang v1.10.0
|
||||||
github.com/prometheus/client_model v0.2.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/smartystreets/goconvey v1.6.4
|
||||||
github.com/stretchr/testify v1.7.0 // indirect
|
github.com/stretchr/testify v1.7.0 // indirect
|
||||||
github.com/xtaci/kcp-go/v5 v5.6.1
|
github.com/xtaci/kcp-go/v5 v5.6.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue