This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
forked from coolya/mbeddr.arduino
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
35 lines (32 loc) · 2.18 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
<project name="mbeddr download and deploy plugins" default="build-arduino">
<property name="plugins.folder.name" value="plugins"/>
<!-- mbeddr.platform -->
<property name="mbeddr.arduino.build-path.postfix" value="${mbeddr.arduino}build/build/artifacts/mbeddr.arduino" />
<property name="mbeddr.arduino.build-file.location" value="${mbeddr.arduino}/build/" />
<property name="mbeddr.arduino.build-file.name" value="build.xml" />
<property name="mbeddr.arduino.allScripts.build-file.name" value="allScripts.xml" />
<property name="mbeddr.arduino.working-dir" value="${mbeddr.arduino}" />
<!-- misc -->
<property name="clean-generated-code.task" value="cleanSources" />
<property name="clean-plugins.task" value="clean" />
<property name="generate-code.task" value="generate" />
<property name="build-plugin.task" value="assemble" />
<property name="run-tests.task" value="check" />
<!-- validations -->
<target name="build-arduino">
<ant antfile="${mbeddr.arduino.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${generate-code.task}" />
<ant antfile="${mbeddr.arduino.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${build-plugin.task}" />
</target>
<target name="build-allScripts">
<ant antfile="${mbeddr.arduino.allScripts.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${generate-code.task}" />
<ant antfile="${mbeddr.arduino.allScripts.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${build-plugin.task}" />
</target>
<target name="clean">
<ant antfile="${mbeddr.arduino.allScripts.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${clean-plugins.task}" />
<ant antfile="${mbeddr.arduino.allScripts.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${clean-generated-code.task}" />
<ant antfile="${mbeddr.arduino.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${clean-plugins.task}" />
<ant antfile="${mbeddr.arduino.build-file.name}" dir="${mbeddr.arduino.build-file.location}" target="${clean-generated-code.task}" />
</target>
<target name="run-tests">
</target>
</project>