name: unisys-test
version: 1.0
# The vendor for the snap (replace 'Vendor <email@example.com>')
vendor: erik.arfvidson@unisys.com
summary: This app serves a simple webpage with a helloworld.html
description: A basic webserver hello world application
icon: icon.png
#config: usr/bin/config.py
apps:
webui:
command: bin/webui
daemon: simple
plugs: [listener]
plugs:
listener:
interface: old-security
caps: [network-listener]
parts:
golang-static-http:
plugin: go
go-packages:
- git://github.com/mikix/golang-static-http
stage-packages:
- nmap
filesets:
nmap:
- usr/bin/nmap
- lib
- usr/lib
go-server:
- bin/golang-*
stage:
- $nmap
- $go-server
snap:
- $nmap
- $go-server
- -usr/share.doc
glue:
plugin: copy
files:
webui: bin/webui
# config:
# plugin: python3
# sources: .