The "RomLink" bytecode language can be used to link a tree of binary chunks
into a flat file. The bytecode specifying each binary chunk lives in a
Resource Manager resource. The RomLink's only purpose is to flatten
DeclData.rsrc into a "Slot 0" (motherboard) DeclData, so it seems like
overkill. Nonetheless, DeclData.rsrc is very complicated (and so are its
antecedents, DeclData.r and the include file RomLink).
This implementation is incomplete. It is just enough to build the vestigial
DeclROM that TNT and later machines retain for Open Transport.
ConvertLineEndings acts only on TEXT files, so run SuggestFileTypes first.
Then:
:Make:ConvertLineEndings > "{TempFolder}FixLines" ; "{TempFolder}FixLines"
ConvertLineEndings is both an MPW script and a C program. The script builds
the fast MPW C Tool, and suggests a command that will use the Tool to fix all
the line endings in the repository.
CreateBuildResultsFolders is necessary because git does not track empty
directories (fair enough) despite the build system requiring their presence.
SuggestFileTypes is necessary because git does not track Finder metadata.
Both scripts are flexible in how they are run and robust -- important in a
newly cloned repo.
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.
The Tools directory, containing mostly junk, is also excluded.