From dc47c3819a7568676d07481ced59dbfb37fb523b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 15 Aug 2017 10:38:12 -0700 Subject: [PATCH] Enable ubuntu snaps for mc (#2235) This PR will enable edge channel only. --- .gitignore | 8 +++++++- snap/snapcraft.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index d9856f59..3bea4cd2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,10 @@ cover.out *.test release experimental -coverage.txt \ No newline at end of file +coverage.txt +.snap +*.tar.bz2 +parts/ +prime/ +snap/.snapcraft/ +stage/ \ No newline at end of file diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..21a1604a --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,24 @@ +name: mc +version: master +summary: ls, cp, mkdir, mirror commands for filesystems and object storage. +description: | + Minio Client (mc) provides a modern alternative to UNIX commands + like ls, cat, cp, mirror, diff etc. It supports filesystems and + Amazon S3 compatible cloud storage service (AWS Signature v2 and v4). + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: devmode + +apps: + mc: + command: mc + plugs: [home, network, network-bind] + +parts: + mc: + source: . + plugin: go + go-importpath: github.com/minio/mc + after: [go] + go: + source-tag: go1.8.3