TABS (Tcl Automated Build System) is a tool for building cookfs, mk4 and zip archives. It is loosely based on idea of SDX (Starkit Developer eXtension) and Makefile-like approach. It is mainly used to create starkits, zipkits, starpacks and cookfs-based archives and binaries. Initially it was developed mainly for cookfs, however, all jobs now support all major archive formats used in Tcl world.
|
Tcl/Tk -
TABS
|
|
Job split splits a file containing an archive into two parts:
- head - part before the archive; for binaries this is the native binary that then reads the VFS archive
- tail - part containing the actual archive
The following table shows all options accepted by split job:
| -checkuptodate | false | Whether check if job is up to date should be done; otherwise job is always run |
| -fail | true | Fail entire build if job fails |
| -file | | File to split |
| -head | | File to write head as; this is the part before archive |
| -skiptags | | Currently unused |
| -tail | | File to write tail as; this is the archive part |
For example to split an archive:
Splitting binary or archive
tabs split -file app.exe -head app.head -tail app.tail
This operation does not alter neither head or tail containing the archive in any way.
It detects driver automatically and calculates size of the archive dependent on type of archive - supporting mk4, zip and cookfs, assuming proper drivers are available. |