forked from freeplane/freeplane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
70 lines (56 loc) · 2.14 KB
/
Copy pathbuild.xml
File metadata and controls
70 lines (56 loc) · 2.14 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
59
60
61
62
63
64
65
66
67
68
69
70
<project name="GlobalFreeplane" default="dist" basedir=".">
<target name="build">
<ant antfile="freeplane_framework/ant/build.xml" target="build"
inheritAll="false" />
</target>
<target name="dist">
<ant antfile="freeplane_framework/ant/build.xml" target="dist"
inheritAll="false" />
</target>
<target name="format-translation">
<ant antfile="JOrtho_0.4_freeplane/build.xml" target="format-translation"
inheritAll="false" />
<ant antfile="freeplane_framework/ant/build.xml" target="format-translation"
inheritAll="false" />
</target>
<target name="clean">
<ant antfile="freeplane_framework/ant/build.xml" target="clean"
inheritAll="false" />
<ant antfile="freeplane_ant/build.xml" target="clean"
inheritAll="false" />
<ant antfile="JOrtho_0.4_freeplane/build.xml" target="clean"
inheritAll="false" />
</target>
<target name="cleandist" depends="clean, dist">
</target>
<target name="release" depends="clean, dist, tag-release"/>
<target name="tag-release">
<property file="freeplane/viewer-resources/version.properties"/>
<condition property="minor_suffix" value="_${minor}" else="">
<isset property="minor" />
</condition>
<condition property="tag.release" value="release-${freeplane_version}">
<equals arg1="${freeplane_version_status}" arg2=""/>
</condition>
<condition property="tag.release" value="beta-${freeplane_version}${minor_suffix}">
<or>
<equals arg1="${freeplane_version_status}" arg2="beta"/>
<equals arg1="${freeplane_version_status}" arg2="rc"/>
</or>
</condition>
<condition property="tag.release" value="preview-${freeplane_version}${minor_suffix}">
<equals arg1="${freeplane_version_status}" arg2="alpha"/>
</condition>
<echo>Press enter to tag '${tag.release}'</echo>
<input/>
<echo>Running git tag -m '' ${tag.release}</echo>
<exec executable="git" failonerror="true">
<arg value="tag"/>
<arg value="-m ''"/>
<arg value="${tag.release}"/>
</exec>
</target>
<target name="create-plugin">
<ant antfile="freeplane_framework/ant/build.xml" target="create-plugin" inheritAll="false" />
</target>
</project>