docs: full toml sample (#20) #27

Merged
张泊明518370910136 merged 7 commits from full-toml-sample into master 2025-07-08 04:38:47 +08:00
Showing only changes of commit bd5c83d3f0 - Show all commits

View File

@ -40,9 +40,9 @@ command = "sh -c 'yes | head -n 10 > yes.txt'" # command to run in the sandbox,
files.import = [ "tools/filelength" ]
# files to import into the sandbox
# key is the path in the host, value is the path in the sandbox
# e.g. this will copy `/home/tt/.config/joj/h7/Makefile` in host
# to `/w/tools/Makefile` in the sandbox
files.import-map = { "tools/Makefile"= "h7/Makefile" }
# e.g. this will copy `/home/tt/.config/joj/tools/Makefile` in host
bomingzh marked this conversation as resolved Outdated

if key is host and value sandbox, then example might be the other way around joj/tools/Makefile (not h7/Makefie) and sandbox is the value h7/Makefile?

if key is host and value sandbox, then example might be the other way around `joj/tools/Makefile` (not `h7/Makefie`) and sandbox is the value `h7/Makefile`?

Yes, it is a typo, fixed.

Yes, it is a typo, fixed.
# to `/w/h7/Makefile` in the sandbox
files.import-map = { "tools/Makefile" = "h7/Makefile" }
# files to export from the sandbox, relative to `/w`, will be imported to later
# stages automatically
files.export = [ "yes.txt" ]