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 copy is used to copy files from one location to another. It is also used for wrap job type.
The following table shows all options accepted by copy job:
| -checkuptodate | false | Whether check if job is up to date should be done; otherwise job is always run |
| -copy | | List of files/directories to copy; specified as file/directory to copy or list specified as {source destination} |
| -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 |
| -output | | Output directory |
| -packages | | List of packages to include; specific to cookfs/cookit building |
| -skiptags | | Currently unused |
Â
Sample copy job
tabs copy -output destdir -copy "srcdir/*"
Â
Copying from multiple directories or files can also be done easily:
Â
Copying from multiple directories
tabs wrap -output destdir -copy "srcdir/* scripts/main.tcl"
|