Skip to content

Commit

Permalink
Update clean and package jobs (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Schmidt authored Aug 19, 2017
1 parent 9bc9995 commit 32ed8a3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
28 changes: 22 additions & 6 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@
<property name="proJar" value="${builddir}/ADTPro-1.0.1.jar" />
<taskdef name="appleDump" classname="org.adtpro.utilities.AppleDump" classpath="${proJar}"/>
<taskdef name="appleCommander" classname="com.webcodepro.applecommander.ui.AntTask" classpath="${acJarPath}/${acJar}"/>
<target name="all" depends="clean, assemble, builddsk">
<target name="all" depends="clean, assemble, builddsk, package">
</target>

<target name="clean">
<target name="clean" description="Clean up everything from a build">
<!--
Clean up everything
-->

<!-- Add an output directory -->
<mkdir dir="${builddir}/${dosDistName}"/>
<!-- Remove the output directory -->
<delete dir="${builddir}/${dosDistName}" />
<delete file="${builddir}/${dosDistName}.zip" />

<delete file="${basedir}/src/client/adt" />
<delete file="${builddir}/${dosDistName}/${dosDistName}.dsk" />
<delete file="${builddir}/${builddir}/${dosDistName}.zip" />
<delete>
<fileset dir="${basedir}/src/client" includes="**/*.o"/>
<fileset dir="${basedir}/src/client" includes="**/*.map"/>
Expand All @@ -32,7 +34,9 @@
</delete>
</target>

<target name="assemble" depends="clean">
<target name="assemble" depends="clean" description="Assemble the source code">
<!-- Add an output directory -->
<mkdir dir="${builddir}/${dosDistName}"/>
<!--
Assemble and link the ADT source
-->
Expand All @@ -52,7 +56,7 @@
<delete file="${basedir}/src/client/adt.dmp" />
</target>

<target name="builddsk">
<target name="builddsk" description="Build bootable disk image">
<!--
Start a .dsk image containing the release number
-->
Expand All @@ -73,4 +77,16 @@
<appleCommander command="k" input="${basedir}/src/client/ADT" imagename="${builddir}/${dosDistName}/${dosDistName}.dsk" filename="ADT.BACKUP" />
</target>

<target name="package" description="Zip up a downloadable package">
<!--
Copy over some items for packaging
-->
<copy file="${basedir}/LICENSE.TXT" tofile="${builddir}/${dosDistName}/LICENSE.TXT" />
<copy file="${basedir}/doc/readme.txt" tofile="${builddir}/${dosDistName}/readme.txt" />
<!-- zip up the whole sheebang -->
<zip destfile="${builddir}/${dosDistName}.zip"
basedir="${builddir}"
includes="${dosDistName}/**"/>
</target>

</project>
23 changes: 12 additions & 11 deletions doc/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ ADT for Apple II with Super Serial Card, IIgs, Laser 128, or Apple ///

by Paul Guertin ([email protected])

December 4th, 1995 - 1999 ...

Apple Disk Transfer (ADT for short) is a set of two programs to
transfer a standard 16-sector Apple II disk to a 140k file on an
MS-DOS or Windows computer, and transfer a standard disk image
Expand All @@ -25,17 +23,20 @@ ADT is freeware.
* * *

Main contents of ADT distribution:
adt.exe -- Windows server executable
manual.txt -- ADT documentation
ADT/adt133.dsk -- Disk image containing ADT client software
ADT/adtpc.dmp -- Monitor dump format of ADT (PC format)
ADT/adtmac.dmp -- ... Mac line ending format
ADT/adtunix.dmp -- ... Unix line ending format
ADTcc/ADTcc.dmp -- Object code for Communications
Card version of ADT
readme.txt -- This documentation
ADT_2.41.dsk -- Disk image containing ADT client software
adtdmp.pc -- Monitor dump format of ADT (PC format)
adtdmp.mac -- ... Mac line ending format
adtdmp.unix -- ... Unix line ending format
LICENSE.TXT -- GNU GPL License version 2

* * *

What's new in version 2.41 August 2017:

- Leave the final screen up after a disk transfer
- Set default speed at 115.2k

What's new in version 2.4 March 2010:

- Fix to allow Laser 128 machines to run at 115.2kbps
Expand Down Expand Up @@ -450,4 +451,4 @@ other comm programs set SW2-6 on.

* * *

ADT is maintained at https://github.com/david-schmidt/ADT
ADT is maintained at https://github.com/david-schmidt/adt

0 comments on commit 32ed8a3

Please sign in to comment.