Skip to content

Packaging

José Amuedo Salmerón edited this page Nov 3, 2017 · 4 revisions

Building .deb

Once you're ready to distribute, run this from the root directory of the project:

debuild -uc -us

Once it's finished, you will find the .deb file one directory above the root directory (cd ..).

To execute the rules:

./debian/rules install

Snap creation

Install snap if you don't already have it:

sudo apt install snapcraft

Help: What does the below do?

By the moment I think we should skip the Snap creation here. I'm yet investigating. Regarding the below command, it pull a snapcraft vm to the local docker repository, and the following one run the instance launching snapcraft over the local folder. My problem was that it seems to be a problem with snapcraft and elementary, so I needed to compile the snap with a vm.

sudo docker pull snapcore/snapcraft
sudo docker run -v $PWD:$PWD -w $PWD snapcore/snapcraft snapcraft

Clone this wiki locally