-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
build.xml.dist
36 lines (34 loc) · 1.21 KB
/
build.xml.dist
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
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<project name="Isotope eCommerce" default="list" basedir=".">
<target name="list">
<echo message="Available commands:" />
<echo message=" phing tx-pull - Pulls language files from Transifex" />
<echo message=" phing tx-sync - Syncs language files with Transifex" />
</target>
<target name="tx-pull">
<echo message="Starting Transifex sync" />
<exec executable="tx" passthru="true">
<arg value="pull" />
<arg value="--all" />
<arg value="--force" />
<arg value="--minimum-perc=50" />
</exec>
</target>
<target name="tx-sync">
<echo message="Starting Transifex sync" />
<exec executable="tx" passthru="true">
<arg value="push" />
<arg value="--source" />
</exec>
<echo message="Waiting 10 seconds for sources to be parsed" />
<exec executable="sleep">
<arg value="10" />
</exec>
<exec executable="tx" passthru="true">
<arg value="pull" />
<arg value="--all" />
<arg value="--force" />
<arg value="--minimum-perc=50" />
</exec>
</target>
</project>