]> git.proxmox.com Git - sencha-touch.git/blame - src/examples/tabs/.sencha/app/watch-impl.xml
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / tabs / .sencha / app / watch-impl.xml
CommitLineData
c4685c84
TL
1<project name="watch-impl">
2
3 <target name="-watch-impl">
4 <x-ant-call target="${build.trigger.targets}"/>
5 </target>
6
7 <target name="-watch-compiler">
8 <x-watch compilerRef="${compiler.ref.id}" targets="-watch-impl"/>
9 </target>
10
11 <target name="-watch-theme-package-css">
12 <x-compass-watch
13 rubyPath="${build.ruby.path}"
14 dir="${compass.working.dir}"
15 trace="${compass.compile.trace}"
16 boring="${compass.compile.boring}"
17 force="${compass.compile.force}"
18 sassdir="${compass.sass.dir}"
19 cssdir="${compass.css.dir}"
20 config="${compass.config.file}"
21 fork="true"/>
22 </target>
23
24 <macrodef name="x-run-compass-watch">
25 <attribute name="directory"/>
26 <sequential>
27 <x-compass-watch
28 rubyPath="${build.ruby.path}"
29 dir="@{directory}"
30 trace="${compass.compile.trace}"
31 boring="${compass.compile.boring}"
32 force="${compass.compile.force}"
33 fork="true"/>
34 </sequential>
35 </macrodef>
36
37 <target name="-watch-sass-dir">
38 <x-run-compass-watch directory="${app.sass.dir}"/>
39 </target>
40
41 <target name="-watch-theme-dir">
42 <local name="watch.sass.dir"/>
43 <property name="watch.sass.dir"
44 value="${app.theme.dir}/${watch.theme.name}/sass"/>
45 <x-run-compass-watch directory="${watch.sass.dir}"/>
46 </target>
47
48 <target name="-before-watch" depends="init"/>
49 <target name="-watch" depends="app-build-impl.build">
50 <x-ant-call target="${build.watcher.targets}"/>
51 </target>
52 <target name="-after-watch" depends="init"/>
53</project>