Skip to content

Commit

Permalink
improve pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
neodiX committed Sep 2, 2024
1 parent 8495daf commit c09d63d
Showing 1 changed file with 1 addition and 117 deletions.
118 changes: 1 addition & 117 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,145 +409,29 @@
dest="${project.build.directory}/binaries-linux-x86_64.zip"
verbose="false"
usetimestamp="true"/>
<if>
<available file="${project.build.directory}/binaries-linux-x86_64"/>
<then>
</then>
<else>
<unzip src="${project.build.directory}/binaries-linux-x86_64.zip"
dest="${project.build.directory}/binaries-linux-x86_64"/>
</else>
</if>

<get retries="3" src="${mac.amd64.ton.binaries.uri}"
dest="${project.build.directory}/binaries-mac-x86_64.zip"
verbose="false"
usetimestamp="true"/>
<if>
<available file="${project.build.directory}/binaries-mac-x86_64"/>
<then>
</then>
<else>
<unzip src="${project.build.directory}/binaries-mac-x86_64.zip"
dest="${project.build.directory}/binaries-mac-x86_64"/>
</else>
</if>


<get retries="3" src="${win.amd64.ton.binaries.uri}"
dest="${project.build.directory}/binaries-windows-x86_64.zip"
verbose="false"
usetimestamp="true"/>
<if>
<available file="${project.build.directory}/binaries-windows-x86_64"/>
<then>
</then>
<else>
<unzip src="${project.build.directory}/binaries-windows-x86_64.zip"
dest="${project.build.directory}/binaries-windows-x86_64"/>
</else>
</if>

<if>
<available
file="${basedir}/src/main/resources/org/ton/binaries/ton-linux-x86_64.zip"/>
<then>
</then>
<else>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-linux-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

<if>
<available
file="${basedir}/src/main/resources/org/ton/binaries/ton-mac-x86_64.zip"/>
<then>
</then>
<else>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-mac-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

<if>
<available
file="${basedir}/src/main/resources/org/ton/binaries/ton-win-x86_64.zip"/>
<then>
</then>
<else>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-win-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-windows-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

</then>
<else>
<echo>"Building MyLocalTon arm64 ${ton_branch}"</echo>
<get retries="3" src="${linux.arm64.ton.binaries.uri}"
dest="${project.build.directory}/binaries-linux-arm64.zip"
verbose="false"
usetimestamp="true"/>
<if>
<available file="${project.build.directory}/binaries-linux-arm64"/>
<then>
</then>
<else>
<unzip src="${project.build.directory}/binaries-linux-arm64.zip"
dest="${project.build.directory}/binaries-linux-arm64"/>
</else>
</if>

<get retries="3" src="${mac.arm64.ton.binaries.uri}"
dest="${project.build.directory}/binaries-mac-arm64.zip"
verbose="false"
usetimestamp="true"/>
<if>
<available file="${project.build.directory}/binaries-mac-arm64"/>
<then>
</then>
<else>
<unzip src="${project.build.directory}/binaries-mac-arm64.zip"
dest="${project.build.directory}/binaries-mac-arm64"/>
</else>
</if>

<if>
<available
file="${basedir}/src/main/resources/org/ton/binaries/ton-linux-arm64.zip"/>
<then>
</then>
<else>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-arm64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-linux-arm64/"
includes="**/*"/>
</zip>
</else>
</if>

<if>
<available
file="${basedir}/src/main/resources/org/ton/binaries/ton-mac-arm64.zip"/>
<then>
</then>
<else>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-arm64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-mac-arm64/"
includes="**/*"/>
</zip>
</else>
</if>

</else>
</if>
</target>
Expand Down

0 comments on commit c09d63d

Please sign in to comment.