path
A path import allows using a local directory as import source.
If path is not absolute, it is considered relative to the project root.
Optionally, path can be symlinked into the imports directory inside the laze
build directory by setting symlink: true in the import.
The symlink name within $build_dir/imports defaults to the last path component
of path. This can be changed by setting name.
Using a symlink helps turning absolute pathnames into relative ones. This might
be desirable for privacy reasons, or help with reproducible builds.
Example:
imports:
- path: /path/to/local/directory
- path: /path/to/another/local/directory
symlink: true
- path: /path/to/a/third/local/directory
symlink: true
name: directory3