Next: , Previous: , Up: Controlling where ASDF saves compiled files   [Contents][Index]


9.5 Shell-friendly syntax for configuration

When processing the environment variable ASDF_OUTPUT_TRANSLATIONS:

In the directory list format, directories should come in pairs, each pair indicating a mapping directive. Entries are separated by a : (colon) on Unix platforms (including Mac and cygwin), and by a ; (semicolon) on other platforms (mainly, Windows).

The magic empty entry, if it comes in what would otherwise be the first entry in a pair, indicates the splicing of inherited configuration; the next entry (if any) then starts a new pair. If the second entry in a pair is empty, it indicates that the directory in the first entry is to be left untranslated (which has the same effect as if the directory had been repeated).

For example, "/foo:/bar::/baz:" means: specify that outputs for things under directory /foo/ are translated to be under /bar/; then include the inherited configuration; then specify that outputs for things under directory /baz/ are not translated.