1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

build.xml: added "start" target. See #3895

This commit is contained in:
Federico Fissore 2015-09-30 09:55:18 +02:00
parent 69f3f9f807
commit 70916d8942

View File

@ -87,10 +87,14 @@
<antcall target="generate-hourly-build-txt"/>
</target>
<target name="run" description="Run Arduino.">
<target name="run" description="Packs and runs Arduino">
<antcall target="${platform}-run" />
</target>
<target name="start" description="Starts Arduino">
<antcall target="${platform}-start" />
</target>
<target name="dist" depends="revision-check"
description="Build Arduino for distribution.">
<input message="Enter version number:"
@ -421,14 +425,10 @@
</chmod>
</target>
<target name="macosx-run" depends="build" description="Run Mac OS X version">
<exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/>
</target>
<target name="macosx-run" depends="build,start"/>
<!-- FIXME -->
<target name="macosx-debug">
<antcall target="macosx-run"/>
<echo>'ant macosx-debug' is deprecated. Please use 'ant run' instead</echo>
<target name="macosx-start">
<exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/>
</target>
<!-- - - - - - - - - - - - - - - - -->
@ -639,11 +639,15 @@
</exec>
</target>
<target name="linux32-run" depends="build" description="Run Linux (32-bit) version">
<target name="linux32-run" depends="build,start"/>
<target name="linux64-run" depends="build,start"/>
<target name="linux32-start">
<exec executable="./linux/work/arduino" spawn="false" failonerror="true"/>
</target>
<target name="linux64-run" depends="build" description="Run Linux (64-bit) version">
<target name="linux64-start">
<exec executable="./linux/work/arduino" spawn="false" failonerror="true"/>
</target>
@ -892,8 +896,9 @@
<antcall target="package-library-index-json-bundle"/>
</target>
<target name="windows-run" depends="build"
description="Run windows version">
<target name="windows-run" depends="build,start"/>
<target name="windows-start">
<exec executable="windows/work/arduino.exe" dir="windows/work" spawn="false" failonerror="true"/>
</target>