-
Notifications
You must be signed in to change notification settings - Fork 1
/
apax.yml
32 lines (32 loc) · 1.03 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
name: "apax-package-name-d7b4b031"
version: 3.0.1
type: lib
targets:
- "1500"
- "llvm"
dependencies:
"@simatic-ax/json": 7.0.0
"@simatic-ax/statemachine": 6.0.1
devDependencies:
"@ax/sdk": 2405.0.0
"@ax/ax2tia": 9.0.26
"@simatic-ax/snippetscollection": 1.0.0
variables:
GLOBAL_LIBRARY_PATH: "apax-package-name-d7b4b031"
LIBRARY_DOCUMENTS_FOLDER: "HandoverLibraryDocuments"
# Variable is set in .env file Example: TIA_PORTAL_INSTALL_PATH="C:\Program Files\Siemens\Automation\Portal V18\Bin"
APAX_BUILD_ARGS:
- "--debug"
scripts:
export-tialib: ax2tia -i bin/1500/*.lib -o "bin/$LIBRARY_DOCUMENTS_FOLDER"
import-tialib:
- echo "$TIA_PORTAL_INSTALL_PATH/Siemens.Simatic.Lang.Library.Importer.exe"
- '"$TIA_PORTAL_INSTALL_PATH/Siemens.Simatic.Lang.Library.Importer.exe" -i "bin/$LIBRARY_DOCUMENTS_FOLDER" -o "$GLOBAL_LIBRARY_PATH" -u'
create-tialib:
- apax build
- apax export-tialib
- apax import-tialib
registries:
'@simatic-ax': 'https://npm.pkg.github.com/'
installStrategy: strict
apaxVersion: 3.2.1