From f3d6cc6bfe765d9746a75db76a24f8a330c21c8e Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Thu, 9 Dec 2021 21:29:08 +0100
Subject: [PATCH] [pkg] local snaps for us

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 2a4bd693..8bd0469e 100644
--- a/Makefile
+++ b/Makefile
@@ -330,6 +330,11 @@ bump_snap:
 	@sed -i 's/^version:.*$$/version: ${VERSION}/' snap/snapcraft.yaml
 	@sed -i 's/^.*echo .*version.txt$$/        echo ${VERSION} > $$SNAPCRAFT_PRIME\/snap\/version.txt/' snap/snapcraft.yaml
 
+local_snap:
+	# just to be able to debug stuff locally in the same way as it's really built @canonical
+	# but multipass is the way to go, nowadays
+	@snapcraft --debug --use-lxd
+
 vendor_init:
 	@VENDOR_PATH=${VENDOR_PATH} ./branding/scripts/init
 
-- 
GitLab