File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
bin/envisage/abssyntaxchecker
config/envisage/abssyntaxchecker Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ echo "<eicommands>"
11
11
12
12
java -jar $ABSFRONTEND $root ${@: 2} 2> $tmpdir /abssyntaxchecker.stderr
13
13
14
- if [ $? == 0 ]; then
15
- echo " <printonconsole>"
16
- echo " <content format='text'>Your program compiles correctly!!</content>"
17
- echo " </printonconsole>"
18
- else
14
+ if [ -s $tmpdir /abssyntaxchecker.stderr ] ; then
19
15
echo " <printonconsole>"
20
16
echo " <content format='text'>There are some compilation errors! See markers in the code area!!</content>"
21
17
echo " </printonconsole>"
29
25
}
30
26
}
31
27
'
28
+ else
29
+ echo " <printonconsole>"
30
+ echo " <content format='text'>Your program compiles correctly!!</content>"
31
+ echo " </printonconsole>"
32
32
fi
33
33
34
34
echo " </eicommands>"
Original file line number Diff line number Diff line change 8
8
</desc>
9
9
</appinfo>
10
10
<execinfo method =" cmdline" >
11
- <cmdlineapp>./envisage/abssyntaxchecker/abssyntaxchecker.sh _ei_root _ei_files</cmdlineapp>
11
+ <cmdlineapp>./envisage/abssyntaxchecker/abssyntaxchecker.sh _ei_root _ei_files _ei_parameters </cmdlineapp>
12
12
</execinfo>
13
13
<parameters prefix =" -" >
14
+ <flag name =" notypecheck" explicit =" false" >
15
+ <desc>
16
+ <short>Disable typechecking</short>
17
+ <long>Disable typechecking</long>
18
+ </desc>
19
+ <default value =" false" />
20
+ </flag>
14
21
</parameters>
15
22
</app>
You can’t perform that action at this time.
0 commit comments