mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Adding source-dist target to build.xml.
http://code.google.com/p/arduino/issues/detail?id=193
This commit is contained in:
parent
3650b471b9
commit
224a7bf768
@ -472,6 +472,38 @@
|
||||
</target>
|
||||
|
||||
|
||||
<!-- - - - - - - - -->
|
||||
<!-- Source -->
|
||||
<!-- - - - - - - - -->
|
||||
|
||||
<target name="source-dist" depends="revision-check"
|
||||
description="Build .tar.gz of source code">
|
||||
<input message="Enter version number:"
|
||||
addproperty="version"
|
||||
defaultvalue="${revision}" />
|
||||
|
||||
<tar compression="gzip" destfile="arduino-${version}-src.tar.gz">
|
||||
<tarfileset dir="../"
|
||||
prefix="arduino-${version}"
|
||||
excludes="**/*.tgz,
|
||||
**/macosx/,
|
||||
**/windows/,
|
||||
**/work/,
|
||||
**/.git/,
|
||||
**/*.class"
|
||||
/>
|
||||
</tar>
|
||||
|
||||
<echo>
|
||||
=======================================================
|
||||
Arduino source distribution was built. Grab the archive from
|
||||
|
||||
arduino-${version}-src.tar.gz
|
||||
=======================================================
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- - - - - - - - -->
|
||||
<!-- Run It! -->
|
||||
<!-- - - - - - - - -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user