product-iots/modules/distribution/src/samples/arduino/build.xml

24 lines
772 B
XML
Raw Normal View History

<project name="Arduino" basedir="." default="deploy">
<import file="../common.xml"/>
<property name="sample_type" value="arduino"/>
<property name="data_source" value="ArduinoDM_DB.h2.db"/>
<target name="deploy" depends="clean">
<copy file="database/${data_source}" toDir="${database_dir}" overwrite="yes"/>
<copy toDir="${sketches_dir}/${sample_type}">
<fileset dir="sketch"/>
</copy>
<copy toDir="${units_dir}/${sample_type}">
<fileset dir="units"/>
</copy>
</target>
<target name="clean">
<delete file="${database_dir}/${data_source}"/>
<delete dir="${sketches_dir}/${sample_type}"/>
<delete dir="${units_dir}/${sample_type}"/>
</target>
</project>