File tree 1 file changed +17
-0
lines changed
servoy_ngclient/client_tests 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<project default =" run_tests" >
3
3
<property name =" basedir" value =" ." />
4
+ <property name =" tsc" value =" /usr/share/tomcat7/NodeJS/node-v4.2.3-linux-x64/bin/tsc" />
4
5
5
6
<property name =" karma_run_once.conf" value =" ./karma.conf.js" />
6
7
<property name =" karma_run_on_file_change.conf" value =" ./karma_run_on_file_change.conf.js" />
7
8
8
9
<property file =" ./development_mode.properties" /> <!-- if the file is present karma will run in continuous mode for development when run_tests is ran -->
9
10
<property name =" karma.conf" value =" ${karma_run_once.conf}" />
10
11
12
+ <target name =" typescript_transpiling" >
13
+ <echo message =" Transpiling ${project}" />
14
+ <exec executable =" ${tsc}" failonerror =" true" >
15
+ <arg line =" -p ${project}" />
16
+ </exec >
17
+ </target >
18
+
11
19
<!-- checks if used dependencies from package.json are outdated should be used manualy from time to time-->
12
20
<target name =" check_outdated" >
13
21
<exec executable =" bash" dir =" ${basedir}" osfamily =" unix"
59
67
</target >
60
68
61
69
<target name =" run_tests" depends =" install_karma_if_necessary" >
70
+ <!-- do TypeScript transpiling of sablo -->
71
+ <antcall target =" typescript_transpiling" >
72
+ <param name =" project" value =" ../../sablo" />
73
+ </antcall >
74
+ <!-- do TypeScript transpiling of servoy_ngclient -->
75
+ <antcall target =" typescript_transpiling" >
76
+ <param name =" project" value =" .." />
77
+ </antcall >
78
+
62
79
<exec executable =" cmd" dir =" ${basedir}" osfamily =" windows"
63
80
failonerror=" true" >
64
81
<arg value =" /c" />
You can’t perform that action at this time.
0 commit comments