|
87 | 87 | <antcall target="generate-hourly-build-txt"/> |
88 | 88 | </target> |
89 | 89 |
|
90 | | - <target name="run" description="Run Arduino."> |
| 90 | + <target name="run" description="Packs and runs Arduino"> |
91 | 91 | <antcall target="${platform}-run" /> |
92 | 92 | </target> |
93 | 93 |
|
| 94 | + <target name="start" description="Starts Arduino"> |
| 95 | + <antcall target="${platform}-start" /> |
| 96 | + </target> |
| 97 | + |
94 | 98 | <target name="dist" depends="revision-check" |
95 | 99 | description="Build Arduino for distribution."> |
96 | 100 | <input message="Enter version number:" |
|
421 | 425 | </chmod> |
422 | 426 | </target> |
423 | 427 |
|
424 | | - <target name="macosx-run" depends="build" description="Run Mac OS X version"> |
425 | | - <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/> |
426 | | - </target> |
| 428 | + <target name="macosx-run" depends="build,start"/> |
427 | 429 |
|
428 | | - <!-- FIXME --> |
429 | | - <target name="macosx-debug"> |
430 | | - <antcall target="macosx-run"/> |
431 | | - <echo>'ant macosx-debug' is deprecated. Please use 'ant run' instead</echo> |
| 430 | + <target name="macosx-start"> |
| 431 | + <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/> |
432 | 432 | </target> |
433 | 433 |
|
434 | 434 | <!-- - - - - - - - - - - - - - - - --> |
|
639 | 639 | </exec> |
640 | 640 | </target> |
641 | 641 |
|
642 | | - <target name="linux32-run" depends="build" description="Run Linux (32-bit) version"> |
| 642 | + <target name="linux32-run" depends="build,start"/> |
| 643 | + |
| 644 | + <target name="linux64-run" depends="build,start"/> |
| 645 | + |
| 646 | + <target name="linux32-start"> |
643 | 647 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
644 | 648 | </target> |
645 | 649 |
|
646 | | - <target name="linux64-run" depends="build" description="Run Linux (64-bit) version"> |
| 650 | + <target name="linux64-start"> |
647 | 651 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
648 | 652 | </target> |
649 | 653 |
|
|
892 | 896 | <antcall target="package-library-index-json-bundle"/> |
893 | 897 | </target> |
894 | 898 |
|
895 | | - <target name="windows-run" depends="build" |
896 | | - description="Run windows version"> |
| 899 | + <target name="windows-run" depends="build,start"/> |
| 900 | + |
| 901 | + <target name="windows-start"> |
897 | 902 | <exec executable="windows/work/arduino.exe" dir="windows/work" spawn="false" failonerror="true"/> |
898 | 903 | </target> |
899 | 904 |
|
|
0 commit comments