Polish (Poland)English (United Kingdom)

What is tabs?

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.

Latest version: 1.2.1 (released 2011-05-22) | download files


TABS documentation: copy
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:

Option Default value Description
-checkuptodatefalseWhether 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}
-excludedirectoriesCVS .svnList of directories to exclude from including
-excludefilescoreList of filenames to exclude
-failtrueFail 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"
 
Tcl 8.5 Network Programming book
Learning Nagios 3.0 book