Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfel committed Feb 20, 2024
2 parents 641cad9 + 7ba7f47 commit 43100a5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -418,4 +418,26 @@

</target>

<condition property="isWindows"><os family="windows" /></condition>
<condition property="isLinux"><and><os family="unix"/><not><os family="mac"/></not></and></condition>
<condition property="isMac"><os family="mac" /></condition>

<target name="installLinux" depends="build" if="isLinux">
<mkdir dir="${user.home}/.beast/2.7/${projName}"/>
<unzip src="${dist}/${fullName}.zip" dest="${user.home}/.beast/2.7/${projName}"/>
</target>

<target name="installMac" depends="build" if="isMac">
<mkdir dir="${user.home}/.beast/2.7/${projName}"/>
<unzip src="${dist}/${fullName}.zip" dest="${user.home}/Library/Application Support/BEAST/2.7/${projName}"/>
</target>

<target name="installWindows" depends="build" if="isWindows">
<mkdir dir="${user.home}/BEAST/2.7/${projName}"/>
<unzip src="${dist}/${fullName}.zip" dest="${user.home}/BEAST/2.7/${projName}"/>
</target>

<target name="install" depends="installWindows,installMac,installLinux">
</target>

</project>

0 comments on commit 43100a5

Please sign in to comment.