From 287ce68c6e721b3e03add29aeb6afbd35fa8ff6a Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 2 Dec 2018 02:26:22 +0000 Subject: [PATCH] Support snap --- .gitignore | 9 +++++++++ snap/snapcraft.yaml | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index f1c181e..30d5e65 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,12 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out + +# Snap +parts +prime +stage +snap/.snapcraft +squashfs-root +*.snap +*_source.tar.bz2 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..011a525 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,22 @@ +name: out-of-tree +version: '0.2' +summary: out-of-tree kernel {module, exploit} development tool +description: | + out-of-tree kernel {module, exploit} development tool + +grade: devel +confinement: devmode + +parts: + out-of-tree: + source: . + plugin: go + go-importpath: github.com/jollheef/out-of-tree + after: [go] + go: + source-tag: go1.11.2 + source-depth: 1 + +apps: + out-of-tree: + command: out-of-tree