-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathbuild.xml
More file actions
58 lines (44 loc) · 1.54 KB
/
build.xml
File metadata and controls
58 lines (44 loc) · 1.54 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<!--
http://ant.apache.org
ANT BUILD SCRIPT
On Linux just install ant package trough your favorite package manager.
On Windows you can use great instalator provided on URL
http://code.google.com/p/winant/downloads/list
-->
<project name="MT4" default="build">
<target name="install_to_mt">
<copy todir="${dest}experts/include" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/include/">
<include name="api.mqh"/>
</fileset>
</copy>
<copy todir="${dest}/experts/libraries" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/libraries/">
<include name="api.mq4"/>
</fileset>
</copy>
<copy todir="${dest}/experts/scripts" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/scripts/">
<include name="test_api.mq4"/>
</fileset>
</copy>
</target>
<target name="copy_from_mt">
<copy todir="${dest}/include" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/experts/include/">
<include name="api.mqh"/>
</fileset>
</copy>
<copy todir="${dest}/libraries" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/experts/libraries/">
<include name="api.mq4"/>
</fileset>
</copy>
<copy todir="${dest}/scripts" verbose="true" overwrite="${copy.overwrite}">
<fileset dir="${source}/experts/scripts/">
<include name="test_api.mq4"/>
</fileset>
</copy>
</target>
</project>