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


9.5 Shell-friendly syntax for configuration

When considering environment variable ASDF_OUTPUT_TRANSLATIONS ASDF will skip to the next configuration if it’s an empty string. It will READ the string as an SEXP in the DSL if it begins with a paren ( and it will be interpreted as a list of directories. Directories should come by pairs, indicating a mapping directive. Entries are separated by a : (colon) on Unix platforms (including cygwin), 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. If it comes as the second entry in a pair, it indicates that the directory specified first is to be left untranslated (which has the same effect as if the directory had been repeated). Thus "/foo:/bar::/baz:" means that things under directory /foo/ are translated to be under /bar/, then include the inherited configuration, then specify that things under directory /baz/ are not translated.