a | b/tests/run.sh | ||
---|---|---|---|
1 | #!/bin/bash |
||
2 | |||
3 | # exit if one of the commands here fail |
||
4 | set -e |
||
5 | |||
6 | cwd=$(dirname ${0}) |
||
7 | |||
8 | ( |
||
9 | # change current working directory to the directory, |
||
10 | # where this script is located. |
||
11 | cd ${cwd}; |
||
12 | |||
13 | # execute several commands |
||
14 | echo "*** Project: Build Bootapplication" |
||
15 | ../codesys-ide/codesys build-bootapp |
||
16 | echo "*** Project: Save Project Archive" |
||
17 | ../codesys-ide/codesys save-projectarchive |
||
18 | echo "*** Library: Compile Library" |
||
19 | ../codesys-ide/codesys compile-library |
||
20 | echo "*** Library: Export Documentation" |
||
21 | ../codesys-ide/codesys export-documentation |
||
22 | |||
23 | ) |
||
24 | |||
25 | echo "*** SUCCESS" |