-
Notifications
You must be signed in to change notification settings - Fork 1
/
apax.yml
43 lines (40 loc) · 1.17 KB
/
apax.yml
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
# General information
name: '@simatic-ax/ae-trafficlight'
version: 0.0.0-placeholder
type: app
# Description will be displayed in the apax extension
description: Application example for using the state machine library
# Build targets
targets:
- "1500"
- "llvm"
# Registries from where the packages will be loaded
registries:
'@simatic-ax': 'https://npm.pkg.github.com/'
# Install Setting
installStrategy: strict
apaxVersion: 3.2.1
# Dependencies
devDependencies:
"@ax/sdk": 2405.0.0
"@simatic-ax/snippetscollection": 1.0.0
dependencies:
"@simatic-ax/statemachine": 6.0.0
"@simatic-ax/simple-control-modules": 6.0.0
"@simatic-ax/io": 6.0.0
"@ax/system-timer": 7.0.17
# Project variables
variables:
APAX_BUILD_ARGS:
- --debug
BIN_FOLDER: "./bin/1500"
IP_ADDRESS: "192.168.0.1"
WATCHLISTS: "./watchlist"
# Apax scripts
scripts:
# call 'apax load' to download the builded program to the target. An 'apax build' might be required upfront
load: apax sld load --input $BIN_FOLDER --target $IP_ADDRESS --restart --accept-security-disclaimer --log debug
# call 'apax dlplc' to build and download the application to the target
dlplc:
- apax build
- apax load