forked from MotivisOpenSource/unity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (25 loc) · 1.32 KB
/
build.xml
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
<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/motivislearning/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/motivislearning/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 -->
</project>