Skip to content

Commit 3833dd7

Browse files
committed
update SDK and dynamic library name
1 parent cdeb4a1 commit 3833dd7

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

template/apax.yml

+18-17
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,33 @@ repository:
1010
url: https://github.com/simatic-ax/apax-package-name-d7b4b031
1111
# Environment variables
1212
variables:
13-
# an arbitrary directory that can be chosen freely
14-
PATH_NAME: "./bin/handover-folder"
15-
# you can change the predefined output path where the TIA Portal library will be generated
16-
TIA_GLOBAL_LIB_PATH: "./TIAPortalLibrary"
17-
# remove, if you do not want to allow debugging of your code
18-
APAX_BUILD_ARGS:
19-
- "--debug"
20-
# Variable is set in .env file Example: TIA_PORTAL_INSTALL_PATH="C:\Program Files\Siemens\Automation\Portal V18\Bin"
13+
# an arbitrary directory that can be chosen freely
14+
PATH_NAME: "./bin/handover-folder"
15+
# you can change the predefined output path where the TIA Portal library will be generated
16+
TIA_GLOBAL_LIB_PATH: "./apax-package-name-d7b4b031"
17+
# remove, if you do not want to allow debugging of your code
18+
APAX_BUILD_ARGS:
19+
- "--debug"
20+
# Variable is set in .env file Example: TIA_PORTAL_INSTALL_PATH="C:\Program Files\Siemens\Automation\Portal V18\Bin"
2121
targets:
2222
- '1500'
2323
- 'axunit-llvm'
2424
- 'llvm'
2525
# Dependencies
2626
devDependencies:
27-
"@ax/sdk": 3.0.2
28-
"@ax/ax2tia": 4.0.5
29-
"@simatic-ax/snippetscollection": 0.0.14
27+
"@ax/sdk": 3.0.10
28+
"@ax/ax2tia": 4.4.12
29+
"@simatic-ax/snippetscollection": 0.0.15
3030
# Apax scripts
3131
scripts:
3232
# set the path to your local TIA Portal installation in the .env file
33-
export-tialib: ax2tia -i ./bin/1500/*.lib -o "$PATH_NAME"
34-
import-tialib: '"$TIA_INSTALL_PATH\\bin\\Siemens.Simatic.Lang.Library.Importer.exe" -i "$PATH_NAME" -o "$TIA_GLOBAL_LIB_PATH"'
35-
create-tialib:
36-
- apax build
37-
- apax export-tialib
38-
- apax import-tialib
33+
export-tialib: ax2tia -i ./bin/1500/*.lib -o "$PATH_NAME"
34+
import-tialib: '"$TIA_INSTALL_PATH\\bin\\Siemens.Simatic.Lang.Library.Importer.exe"
35+
-i "$PATH_NAME" -o "$TIA_GLOBAL_LIB_PATH"'
36+
create-tialib:
37+
- apax build
38+
- apax export-tialib
39+
- apax import-tialib
3940
# Registry information, where the package will be published/consumed
4041
registries:
4142
'@simatic-ax': 'https://npm.pkg.github.com/'

0 commit comments

Comments
 (0)