forked from canonical/snapweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
48 lines (42 loc) · 1.1 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: snapweb
version: 0.26-11-dev
summary: Beautiful and functional interface for snap management
description: |
This service allows you to manage your Ubuntu Core device from a web interface or REST API.
Features include:
- manage updates to the system.
- control the state of other snappy packages.
- browse the store to install new snappy packages.
Please find the source code for this snap at:
https://github.com/snapcore/snapweb
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
apps:
snapweb:
command: bin/snapweb
daemon: simple
plugs:
- network
- network-bind
- snapd-control
- timeserver-control
generate-token:
command: bin/generate-token
parts:
snapweb:
plugin: godeps
source: .
go-importpath: github.com/snapcore/snapweb
build-packages: [gcc]
snapweb-ui:
plugin: gulp
node-engine: 6.11.0
gulp-tasks: ['install']
prepare: |
sed -i '/karma-phantom/d' package.json
source: .
build-packages:
- git
- python
- g++
- build-essential