forked from Multibit-Legacy/multibit-hd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update-internal-help.xml
27 lines (20 loc) · 1.42 KB
/
update-internal-help.xml
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
<project name="MBHD Maven" default="update-help" basedir=".">
<description>Updates help from adjacent MultiBit Website repo clone</description>
<target name="update-help" description="Copy the help files from adjacent MultiBit Website project" >
<!-- Clear out any existing help directories, including old versions -->
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/html/en/help/hd0.1" />
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/images/en/screenshots/mbhd-0.1" />
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/html/en/help/hd0.2" />
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/images/en/screenshots/mbhd-0.2" />
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/html/en/help/hd0.3" />
<delete dir="${basedir}/mbhd-swing/src/main/resources/assets/images/en/screenshots/mbhd-0.3" />
<!-- Replace the directories -->
<mkdir dir="${basedir}/../multibit-website/src/main/resources/views/html/en/help/hd0.3" />
<!-- no screen shots in embedded help -->
<!-- MultiBit HD help files for "en" -->
<!-- Requires MultiBit branch release-4.0.0 or later to access the files -->
<copy todir="${basedir}/mbhd-swing/src/main/resources/assets/html/en/help/hd0.3" overwrite="true" failonerror="false">
<fileset dir="${basedir}/../multibit-website/src/main/resources/views/html/en/help/hd0.3"/>
</copy>
</target>
</project>