forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapack.info
49 lines (39 loc) · 1.28 KB
/
apack.info
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
# Adapter pack file for Studio.
#
label=Zigbee Advanced platform
path=.,node_modules/.bin/,ZAP.app/Contents/MacOS
requiredFeatureLevel=apack.core:7
featureLevel=1
id=zclConfigurator
# Trigger file extension. No period.
uc.triggerExtension=zap
executable(zap) {
engine=node
exe=src-script/zap-start.js
}
executable(zap_regen) {
engine=node
exe=src-script/zap-generate.js
}
function(uc_generate) {
cmd=$(zap_regen) --out ${generationOutput} --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --in ${contentFolder}
}
function(zapHelp) {
cmd=$(zap) --help
}
function(zapSelfcheck) {
cmd=$(zap) selfCheck
}
function(zapServer) {
output.description=Output directory for project generation
cmd=$(zap) --noUi --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --output ${output} --studioHttpPort ${studioHttpPort}
}
function(zapFull) {
cmd=$(zap) --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json
}
option(output) {
name=Output directory for project generation
description=Directory where the generated files will be written to.
type=string
default=./
}