Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

srcdir

This field contains an optional string that overrides the base path for the module’s source files.

By default, srcdir is the module’s relpath (the directory containing the laze YAML file), or the download directory for modules with download.

The value is also available as the ${srcdir} variable in the module’s environment.

Example:

modules:
  - name: vendor_lib
    srcdir: vendor/lib/src
    sources:
      - lib.c
      - util.c