Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve description of apax scrip names #47

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions template/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ variables:
# an arbitrary directory that can be chosen freely
PATH_NAME: "./bin/handover-folder"
# you can change the predefined output path where the TIA Portal library will be generated
TIA_GLOBAL_LIB_PATH: "./apax-package-name-d7b4b031"
TIA_GLOBAL_LIB_PATH: "./bin/TIAPortalLibrary"
# set the path to your local TIA Portal installation
TIA_INSTALL_PATH: "C:\\Program Files\\Siemens\\Automation\\Portal V18"
# remove, if you do not want to allow debugging of your code
APAX_BUILD_ARGS:
- "--debug"
Expand All @@ -29,13 +31,14 @@ devDependencies:
"@simatic-ax/snippetscollection": 0.0.15
# Apax scripts
scripts:
# set the path to your local TIA Portal installation in the .env file
export-tialib: ax2tia -i ./bin/1500/*.lib -o "$PATH_NAME"
import-tialib: '"$TIA_INSTALL_PATH\\Siemens.Simatic.Lang.Library.Importer.exe" -i "$PATH_NAME" -o "$TIA_GLOBAL_LIB_PATH"'
# transfer a AX Library to handover library documents for a TIA Libray
export-tia-handover-documents: ax2tia -i ./bin/1500/*.lib -o "$PATH_NAME"
# convert library handover documents into a global library for the TIA Portal.
import-handover-documents-to-tia: '"$TIA_INSTALL_PATH\\bin\\Siemens.Simatic.Lang.Library.Importer.exe" -i "$PATH_NAME" -o "$TIA_GLOBAL_LIB_PATH" -u'
create-tialib:
- apax build
- apax export-tialib
- apax import-tialib
- apax export-tia-handover-documents
- apax import-handover-documents-to-tia
# Registry information, where the package will be published/consumed
registries:
'@simatic-ax': 'https://npm.pkg.github.com/'
Expand Down
Loading