File: snapcraft.yaml

package info (click to toggle)
snapd 2.72-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,412 kB
  • sloc: sh: 16,506; ansic: 16,211; python: 11,213; makefile: 1,919; exp: 190; awk: 58; xml: 22
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: test-snapd-python-webserver
version: 16.04-3
summary: Python based example webserver
description: |
 Show random XKCD comic via a build-in webserver
 This is meant as a fun example for a snappy package.
apps:
    test-snapd-python-webserver:
        command: bin/test-snapd-python-webserver
        daemon: simple
        plugs: [network, network-bind]

parts:
    test-snapd-python-webserver:
        plugin: python3
    copy:
        plugin: dump
        source: .
        organize:
            server.py: bin/test-snapd-python-webserver
            index.html: www/index.html