Skip to content

dclane-code/autotools-snap

Repository files navigation

demo application for the sake of building a snap from github

to build (manually):
$ make

snap checklist (snapcraft.io/docs/snapcraft-checklist)
    1. language/framework/build system
        plugin = make
    2. toolkit = none
    3. system integration = none

$ snapcraft init
edit global metadata (https://snapcraft.io/docs/adding-global-metadata)

Add parts to snapcraft.yaml
    https://snapcraft.io/docs/adding-parts

Add command to snapcraft.yaml
    https://snapcraft.io/docs/defining-a-command

do a test build
$ snapcraft --debug

install
$ sudo snap install --devmode --dangerous ./test-dclane-hi_0.1_amd64.snap

run
$ test-dclane-hi.dclane-hi

About

first snap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages