Repository navigation
Expand file tree
/
Copy pathbuild.xml
More file actions
40 lines (29 loc) · 1.59 KB
/
Copy pathbuild.xml
File metadata and controls
40 lines (29 loc) · 1.59 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
<project default="deploy" basedir="." xmlns:sf="antlib:com.salesforce">
<!-- Load the package requirements from version.properties -->
<loadproperties srcFile="${basedir}/version.properties"/>
<!-- Load environment variables -->
<property environment="env" />
<!-- Check if the CUMULUSCI_PATH environment variable is set -->
<fail>
<condition>
<not><isset property="env.CUMULUSCI_PATH" /></not>
</condition>
CUMULUSCI_PATH is Required!
This project uses the CumulusCI build scripts which must be checked out and
referenced in an environment variable before you can run the build scripts.
To configure the build scripts, do the following:
1. Clone the CumulusCI GitHub repository to a local folder:
https://github.com/SalesforceFoundation/CumulusCI
2. Set the CUMULUSCI_PATH environment variable to the path to CumulusCI
If you are on a unix based system, the following commands should work:
git clone https://github.com/SalesforceFoundation/CumulusCI ~/CumulusCI
export CUMULUSCI_PATH=~/CumulusCI
</fail>
<!-- Load CumulusCI build targets -->
<import file="${env.CUMULUSCI_PATH}/build/build.xml" />
<!-- Add project specific build targets and CumulusCI overrides here -->
<target name="preDeployCI">
<!-- build a new package xml so we always have the latest and greatest from our code repository and we do not have to care about writing package.xml's our selves-->
<antcall target="updatePackageXml"/>
</target>
</project>