forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apack.info.dist
50 lines (39 loc) · 1.27 KB
/
apack.info.dist
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
# 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:win32.x86_64) {
exe=zap.exe
}
executable(zap:linux.x86_64) {
exe=zap
}
executable(zap:macosx.x86_64) {
exe=zap.app/Contents/MacOS/zap
}
function(uc_generate) {
cmd=$(zap) generate --noUi --noServer -o ${generationOutput} --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.properties --genTemplateJson ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --in ${contentFolder}
}
function(zapHelp) {
cmd=$(zap) -?
}
function(zapSelfcheck) {
cmd=$(zap) --selfCheck
}
function(zapServer) {
cmd=$(zap) --noUi --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.properties --genTemplateJson ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json -o ${output} --studioHttpPort ${studioHttpPort}
}
function(zapFull) {
cmd=$(zap) --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.properties
}
option(output) {
name=Output directory for project generation
description=Directory where the generated files will be written to.
type=string
default=./
}