aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-07-04 18:08:58 -0400
committerMicah Lee <micah@micahflee.com>2022-07-04 18:08:58 -0400
commit29707c97bb0672d7acc4598b084f5cb43eb6f937 (patch)
tree73b62fed2c831543cdd5b778d4943ce888381db1 /snap
parent12295aa6935e9e7d052206782280b8d7032e22a9 (diff)
downloadonionshare-29707c97bb0672d7acc4598b084f5cb43eb6f937.tar.gz
onionshare-29707c97bb0672d7acc4598b084f5cb43eb6f937.zip
Try fixing go parts in snapcraft
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml16
1 files changed, 6 insertions, 10 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 5c85f6d4..9a0f8f77 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -151,13 +151,11 @@ parts:
obfs4:
plugin: go
- go-importpath: gitlab.com/yawning/obfs4
- source: https://gitlab.com/yawning/obfs4
+ source: https://gitlab.com/yawning/obfs4.git
source-type: git
snowflake-client:
plugin: go
- go-importpath: git.torproject.org/pluggable-transports/snowflake.git/client
source: https://git.torproject.org/pluggable-transports/snowflake.git
source-type: git
source-tag: v2.2.0
@@ -166,13 +164,11 @@ parts:
meek-client:
plugin: go
- go-channel: stable
- go-importpath: git.torproject.org/pluggable-transports/meek.git/meek-client
- # Not sure why I have to do this, but it works
- override-build: |
- cd meek-client
- mkdir /root/parts/meek-client/install/bin
- go build -o /root/parts/meek-client/install/bin/meek-client ./...
source: https://git.torproject.org/pluggable-transports/meek.git
source-type: git
source-tag: v0.37.0
+ # # Not sure why I have to do this, but it works
+ # override-build: |
+ # cd meek-client
+ # mkdir /root/parts/meek-client/install/bin
+ # go build -o /root/parts/meek-client/install/bin/meek-client ./...