eris/packaging/make-snap

20 lines
333 B
Text
Raw Normal View History

#!/bin/bash
# Run this script from the project root.
# i.e. ./packaging/make-snap
set -e
set -x
# snap install lxd
# lxd init # Use defaults. Set size of loop device to at least 3GB.
snapcraft clean --use-lxd
snapcraft --use-lxd --debug
sudo snap remove eris
sudo snap install --dangerous eris_*_amd64.snap
/snap/bin/eris -h