Created
October 16, 2018 14:40
-
-
Save dbolser-ebi/355c0a759cb4d1f8dfb2750596b1b7c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
Targets for checking out dependencies for the healthchecks. | |
Use | |
ant clean | |
to delete the directory with the checkouts. | |
--> | |
<project name="checkoutDependencies" default="checkoutPerlDependencies" basedir=".."> | |
<property file="buildfiles/build.properties" /> | |
<!-- | |
Directory where checkout will be placed | |
--> | |
<property name="perlDependencyCheckoutDir" value="perlcode" /> | |
<target | |
name = "setPermissions" | |
description = "Adds run permissions to th perl/run_healthcheck.pl program which is necessary for running perl based healthchecks." | |
> | |
<chmod file="./perl/run_healthcheck.pl" perm="u+x" /> | |
</target> | |
<target | |
name = "checkoutPerlDependencies" | |
description = "" | |
depends = "checkoutBioperlDependency, checkoutEnsemblDependency, setPermissions" | |
/> | |
<!-- | |
All checkouts go into this directory | |
--> | |
<target name="createPerlDependencyDir" description=""> | |
<mkdir dir="${perlDependencyCheckoutDir}" /> | |
</target> | |
<!-- | |
Deletes the directory with the checkouts | |
--> | |
<target name="clean" description=""> | |
<delete dir="${perlDependencyCheckoutDir}"/> | |
</target> | |
<!-- | |
Checkouts of the Ensembl API | |
--> | |
<target name="checkoutEnsemblDependency" description="" depends="createPerlDependencyDir"> | |
<exec dir="." executable="git" os="Linux,Mac OS X"> | |
<arg line="clone --branch master https://github.com/Ensembl/ensembl-variation ${perlDependencyCheckoutDir}/ensembl-variation" /> | |
</exec> | |
<exec dir="." executable="git" os="Linux,Mac OS X"> | |
<arg line="clone --branch master https://github.com/Ensembl/ensembl-funcgen ${perlDependencyCheckoutDir}/ensembl-funcgen" /> | |
</exec> | |
<exec dir="." executable="git" os="Linux,Mac OS X"> | |
<arg line="clone --branch master https://github.com/Ensembl/ensembl ${perlDependencyCheckoutDir}/ensembl" /> | |
</exec> | |
</target> | |
<!-- | |
Checkouts of Bioperl | |
--> | |
<target name="checkoutBioperlDependency" description="" depends="createPerlDependencyDir"> | |
<mkdir dir="${perlDependencyCheckoutDir}/bioperl"/> | |
<exec dir="." executable="git" os="Linux,Mac OS X"> | |
<arg line="clone --branch v1.6.x https://github.com/bioperl/bioperl-live ${perlDependencyCheckoutDir}/bioperl" /> | |
</exec> | |
</target> | |
</project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment