mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
24 lines
772 B
XML
24 lines
772 B
XML
|
|
<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>
|