Added sentence cache system

This commit is contained in:
2018-09-16 13:55:19 +01:00
parent 9fb3d1f816
commit 43d80c00d9
6 changed files with 100 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
<target name="macapp" depends="build">
<mkdir dir="tmp"/>
<mkdir dir="tmp"/>
<jarbundler
name="AudiobookRecorder"
@@ -92,7 +92,15 @@
<launch4j configFile="dist/windows/windows.xml" outfile="AudiobookRecorder.exe" />
</target>
<target name="dist" depends="macapp,winapp" />
<target name="linuxapp" depends="build">
<concat destfile="AudiobookRecorder.run" binary="true">
<file file="dist/linux/stub" />
<file file="AudiobookRecorder.jar" />
</concat>
<chmod perm="0755" file="AudiobookRecorder.run" />
</target>
<target name="dist" depends="macapp,winapp,linuxapp" />
<target name="tag">
<exec executable="git">
@@ -148,6 +156,15 @@
<arg value="-f"/> <arg value="AudiobookRecorder.exe"/>
<arg value="-n"/> <arg value="AudiobookRecorder.exe"/>
</exec>
<echo>Uploading AudiobookRecorder.run</echo>
<exec executable="github-release">
<arg value="upload"/>
<arg value="-u"/> <arg value="MajenkoProjects"/>
<arg value="-r"/> <arg value="AudiobookRecorder"/>
<arg value="-t"/> <arg value="v${version}"/>
<arg value="-f"/> <arg value="AudiobookRecorder.run"/>
<arg value="-n"/> <arg value="AudiobookRecorder.run"/>
</exec>
</target>
</project>