ECO(1): rom
USAGE
usage: rom [-Du] [-n name] {file}
-D: debug
-n name: use this name as the package name
-u: use unix out
DESCRIPTION
Rom generates a giant Go map for files in the input. It is used to include external data files into Clive servers so they can work without requiring external file systems.
The generated map is called rom.Files
and
goes from the paths to the byte arrays for file contents.
EXAMPLES
Generate a file that contains all javascript files under the current directory in the rom map, and install it as a package
% rom ,~*.js > js.go
% Go install
SOURCE
/zx/sys/src/clive/cmd/rom