Download this file
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
#!/bin/bash # exit if one of the commands here fail set -e cwd=$(dirname ${0}) ( # change current working directory to the directory, # where this script is located. cd ${cwd}; # execute several commands echo "*** Project: Build Bootapplication" ../codesys-ide/codesys build-bootapp echo "*** Project: Save Project Archive" ../codesys-ide/codesys save-projectarchive echo "*** Library: Compile Library" ../codesys-ide/codesys compile-library echo "*** Library: Export Documentation" ../codesys-ide/codesys export-documentation echo "*** Library: Generate package manifest" ../codesys-ide/codesys gen-package-manifest echo "*** Library: Build Package" ../codesys-ide/codesys build-package ) echo "*** SUCCESS"