fab.steps.grab.files#

This file contains the grab_files function.

Functions

grab_files(config, src[, dst_label])

Copy a source file or folder to the project workspace.

fab.steps.grab.files.grab_files(config, src, dst_label='')#

Copy a source file or folder to the project workspace.

Parameters:
  • config – The fab.build_config.BuildConfig object where we can read settings such as the project workspace folder or the multiprocessing flag.

  • src (Path | str) – The source location to grab. Either a directory or a file.

  • dst_label (str) – The name of a sub folder, in the project workspace, in which to put the source. If not specified, the code is copied into the root of the source folder. (default: '')