From 0ce6c2680423707b565c709c6d38bc9c5532a922 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 9 Aug 2017 23:27:25 +0000 Subject: [PATCH 1/2] Add the packaging metadata to build the gox snap --- snap/snapcraft.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..bff3d59 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,22 @@ +name: gox +version: master +summary: + A dead simple, no frills Go cross compile tool +description: | + Gox is a simple, no-frills tool for Go cross compilation that behaves a lot + like standard go build. Gox will parallelize builds for multiple platforms. + Gox will also build the cross-compilation toolchain for you. + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: classic + +apps: + gox: + command: bin/gox + plugs: [home] + +parts: + gox: + source: . + plugin: go + go-importpath: github.com/mitchellh/gox From 4f517851a1401d0cd3b982d3a01dd06336545f2e Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 9 Aug 2017 23:28:40 +0000 Subject: [PATCH 2/2] remove the home plug --- snap/snapcraft.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bff3d59..8f3fbb4 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -13,7 +13,6 @@ confinement: classic apps: gox: command: bin/gox - plugs: [home] parts: gox: