-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsnapcraft.yaml
52 lines (47 loc) · 1.09 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
48
49
50
51
name: macchina-io
version: 0.9.0
summary: A toolkit for building IoT device applications in JavaScript and C++
description: An open-source toolkit for building embedded IoT applications that connect sensors, devices and cloud services.
confinement: devmode
grade: stable
apps:
server:
command: bin/start-macchina.sh
daemon: forking
stop-command: bin/stop-macchina.sh
plugs:
- network
- network-bind
- bluez
- serial-port
parts:
macchina:
plugin: make
make-parameters:
- PRODUCT=runtime
- DEFAULT_TARGET=shared_release
- -s
source: https://github.com/macchina-io/macchina.io.git
build-packages:
- g++
- libssl-dev
- python
bluepy-helper:
plugin: make
make-parameters:
- -s
source: https://github.com/macchina-io/bluepy.git
source-subdir: bluepy
artifacts:
- bluepy-helper
organize:
bluepy-helper: bin/bluepy-helper
build-packages:
- gcc
- python
- libglib2.0-dev
macchina-snap:
plugin: dump
source: files
after:
- macchina