From aab806429fb1cec915b30a0e66a9921bf33bee74 Mon Sep 17 00:00:00 2001 From: Cecylia Bocovich Date: Mon, 11 Apr 2022 11:50:36 -0400 Subject: [PATCH] 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