Package files directly in snapcraft.yaml

We don't need to convert things anymore, so reference files directly in
the snap yaml file.
This commit is contained in:
Pierre Ossman
2020-12-30 13:56:47 +01:00
parent 23249c7263
commit cd9f535eb3
2 changed files with 17 additions and 7 deletions

View File

@@ -13,8 +13,24 @@ confinement: strict
parts:
novnc:
source: build/
source: .
plugin: dump
organize:
utils/launch.sh: /
stage:
- vnc.html
- app
- core/**/*.js
- vendor/**/*.js
- launch.sh
stage-packages:
- bash
svc-script:
source: snap/local
plugin: dump
stage:
- svc_wrapper.sh
stage-packages:
- bash
- jq