|
4 | 4 | <!--echo message="os.arch = ${os.arch}" /--> |
5 | 5 | <!--echo message="os.version = ${os.version}" /--> |
6 | 6 |
|
| 7 | + <tstamp> |
| 8 | + <format property="BUILD_DATE" pattern="yyyy/MM/dd hh:mm"/> |
| 9 | + </tstamp> |
| 10 | + |
7 | 11 | <!-- Sets properties for macosx/windows/linux depending on current system --> |
8 | 12 | <condition property="platform" value="macosx-old"> |
9 | 13 | <and> |
|
59 | 63 |
|
60 | 64 | <target name="build" description="Build Arduino."> |
61 | 65 | <antcall target="${platform}-build" /> |
| 66 | + |
| 67 | + <antcall target="generate-hourly-build-txt"/> |
62 | 68 | </target> |
63 | 69 |
|
64 | 70 | <target name="run" description="Run Arduino."> |
|
385 | 391 | <antcall target="macosx-run-common"/> |
386 | 392 | </target> |
387 | 393 |
|
388 | | - <target name="macosx-run" depends="macosx-build" description="Run Mac OS X version"> |
| 394 | + <target name="macosx-run" depends="build" description="Run Mac OS X version"> |
389 | 395 | <antcall target="macosx-run-common"/> |
390 | 396 | </target> |
391 | 397 |
|
392 | 398 | <target name="macosx-old-debug" depends="macosx-old-build" description="Run Mac OS X version"> |
393 | 399 | <antcall target="macosx-debug-common"/> |
394 | 400 | </target> |
395 | 401 |
|
396 | | - <target name="macosx-debug" depends="macosx-build" description="Run Mac OS X version"> |
| 402 | + <target name="macosx-debug" depends="build" description="Run Mac OS X version"> |
397 | 403 | <antcall target="macosx-debug-common"/> |
398 | 404 | </target> |
399 | 405 |
|
|
468 | 474 | <antcall target="macosx-dist-common"/> |
469 | 475 | </target> |
470 | 476 |
|
471 | | - <target name="macosx-dist" if="macosx" depends="macosx-build" description="Create a downloadable .zip for the Mac OS X version"> |
| 477 | + <target name="macosx-dist" if="macosx" depends="build" description="Create a downloadable .zip for the Mac OS X version"> |
472 | 478 | <antcall target="macosx-dist-common"/> |
473 | 479 | </target> |
474 | 480 |
|
|
637 | 643 | <antcall target="package-library-index-json-bundle"/> |
638 | 644 | </target> |
639 | 645 |
|
640 | | - <target name="linux32-run" depends="linux32-build" description="Run Linux (32-bit) version"> |
| 646 | + <target name="linux32-run" depends="build" description="Run Linux (32-bit) version"> |
641 | 647 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
642 | 648 | </target> |
643 | 649 |
|
644 | | - <target name="linux64-run" depends="linux64-build" description="Run Linux (64-bit) version"> |
| 650 | + <target name="linux64-run" depends="build" description="Run Linux (64-bit) version"> |
645 | 651 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
646 | 652 | </target> |
647 | 653 |
|
|
858 | 864 | <antcall target="package-library-index-json-bundle"/> |
859 | 865 | </target> |
860 | 866 |
|
861 | | - <target name="windows-run" depends="windows-build" |
| 867 | + <target name="windows-run" depends="build" |
862 | 868 | description="Run windows version"> |
863 | 869 | <exec executable="windows/work/arduino.exe" dir="windows/work" spawn="true" failonerror="true"/> |
864 | 870 | </target> |
865 | 871 |
|
866 | | - <target name="windows-dist" depends="windows-build" description="Create .zip files of windows version"> |
| 872 | + <target name="windows-dist" depends="build" description="Create .zip files of windows version"> |
867 | 873 |
|
868 | 874 | <loadproperties srcfile="${WINDOWS_BUNDLED_JVM}/release" prefix="windows"/> |
869 | 875 |
|
|
989 | 995 | </exec> |
990 | 996 | </target> |
991 | 997 |
|
| 998 | + <target name="generate-hourly-build-txt" if="hourly"> |
| 999 | + <echo file="${staging_folder}/work/${staging_hardware_folder}/../lib/hourlyBuild.txt">${BUILD_DATE}</echo> |
| 1000 | + </target> |
| 1001 | + |
992 | 1002 | </project> |
0 commit comments