Skip to main content

Module project

Module project 

Source
Expand description

Which files make up a project: the folder holding main.nf and every .nf file below it.

Constants§

ENTRY_FILE
Marks a folder as a project, and is the first of its files.
SOURCE_EXTENSION

Functions§

collect 🔒
is_source
root_of
The project file belongs to: the nearest folder above it that holds a main.nf.
source_files
The source files of the project in root, relative to it: main.nf first, then every other .nf file in it and its subfolders, sorted. A subfolder with its own main.nf is a separate project, such as an app nf build made, so its files are left out.