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 repack mounts an archive and repacks it under same or different file name. It can be used to optimize an archive - for example removing space occupied by previously removed files.
The following table shows all options accepted by repack job:
| -checkuptodate | false | Whether check if job is up to date should be done; otherwise job is always run |
| -driver | | VFS type to use - supports mk4, zip and cookfs; defaults to input driver if not specified |
| -driveroptions | | Additional options to pass to VFS driver; type dependant |
| -excludedirectories | CVS .svn | List of directories to exclude from including |
| -excludefiles | core | List of filenames to exclude |
| -fail | true | Fail entire build if job fails |
| -file | | File to repack |
| -output | | File to write to; defaults to same as -file if not specified |
| -skiptags | | Currently unused |
To repack an archive:
Repacking an archive or binary
tabs repack -file app.exe
This will repack the archive and keep it under same name, overwriting original archive. It will also retain the head of the archive - for example repacking a tclkit will not break it in any way.
Â
It's also possible to repack an archive as a different driver - for example repack a package from zip to mk4 or cookfs by doing:
Converting to cookfs
tabs repack -file app.zip -driver cookfs -output app.cfs
|