File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 471
471
</echo >
472
472
</target >
473
473
474
+
475
+ <!-- - - - - - - - -->
476
+ <!-- Source -->
477
+ <!-- - - - - - - - -->
478
+
479
+ <target name =" source-dist" depends =" revision-check"
480
+ description =" Build .tar.gz of source code" >
481
+ <input message =" Enter version number:"
482
+ addproperty =" version"
483
+ defaultvalue =" ${ revision } " />
484
+
485
+ <tar compression =" gzip" destfile =" arduino-${ version } -src.tar.gz" >
486
+ <tarfileset dir =" ../"
487
+ prefix =" arduino-${ version } "
488
+ excludes =" **/*.tgz,
489
+ **/macosx/,
490
+ **/windows/,
491
+ **/work/,
492
+ **/.git/,
493
+ **/*.class"
494
+ />
495
+ </tar >
496
+
497
+ <echo >
498
+ =======================================================
499
+ Arduino source distribution was built. Grab the archive from
500
+
501
+ arduino-${ version } -src.tar.gz
502
+ =======================================================
503
+ </echo >
504
+ </target >
474
505
506
+
475
507
<!-- - - - - - - - -->
476
508
<!-- Run It! -->
477
509
<!-- - - - - - - - -->
You can’t perform that action at this time.
0 commit comments