[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [pluggable-transports/snowflake] 02/02: Fix gitlab CI to work with multiple client .go files



This is an automated email from the git hooks/post-receive script.

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake.

commit aab806429fb1cec915b30a0e66a9921bf33bee74
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
AuthorDate: Mon Apr 11 11:50:36 2022 -0400

    Fix gitlab CI to work with multiple client .go files
---
 .gitlab-ci.yml | 2 +-
 go.mod         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ef29ef..ebbcf36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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 .
 
diff --git a/go.mod b/go.mod
index 705c05a..432a237 100644
--- a/go.mod
+++ b/go.mod
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits