Skip to content

Commit

Permalink
Add the daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Arias committed Jan 14, 2017
1 parent 7169ea3 commit 6a36b58
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ description: |
grade: devel
confinement: strict

apps:
swagger-ui:
command: sh -c \"cd $SNAP/lib/node_modules/swagger-ui/dist && http-server -a localhost -p 8080\"
daemon: simple
plugs: [network, network-bind]

parts:
swagger-ui:
source: .
plugin: nodejs
npm-run: [build]
node-packages: [handlebars]
node-packages: [handlebars, http-server]

0 comments on commit 6a36b58

Please sign in to comment.