summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-12-09 21:29:08 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-12-09 21:29:08 +0100
commitf3d6cc6bfe765d9746a75db76a24f8a330c21c8e (patch)
tree500f949349843311abefa9561805f0f0bc46a235
parenta3a74d2eb668c6cd802350d32f60f5734d17a876 (diff)
[pkg] local snaps for us
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2a4bd69..8bd0469 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