From b325825fbbc8c0f76bae313313588d2373a714a2 Mon Sep 17 00:00:00 2001 From: Soumyadeep Ghosh Date: Fri, 28 Jun 2024 00:22:41 +0530 Subject: [PATCH] snap: move to strict confinement --- snap/snapcraft.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 48fd21e2..2e81e5fd 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -2,7 +2,7 @@ name: amber-bash icon: assets/amber.png title: Amber base: core24 -version: '0.3.2-alpha' +adopt-info: amber summary: Amber the programming language compiled to bash description: | Programming language that compiles to Bash. It's a high level programming language that makes it easy to create shell scripts. @@ -12,17 +12,21 @@ source-code: https://github.com/Ph0enixKM/Amber issues: https://github.com/Ph0enixKM/Amber/issues website: https://amber-lang.com/ grade: stable -confinement: classic +confinement: strict compression: lzo parts: amber: plugin: rust source: . - build-attributes: - - enable-patchelf + override-pull: | + craftctl default + craftctl set version=$(git describe --tags --abbrev=0) apps: amber: command: bin/amber + plugs: + - home + - removable-media