![]() |
Nuke.Cola
|
Static Public Member Functions | |
| static List< ImportedItem > | ImportFolders (this INukeBuild self, ImportOptions? options, params ImportFolderItem[] imports) |
| Convenience method for specifying multiple folder from/to pairs for ImportFolder | |
| static List< ImportedItem > | ImportFolders (this INukeBuild self, params ImportFolderItem[] imports) |
| static List< ImportedItem > | ImportFolder (this INukeBuild self, ImportFolderItem import, ImportOptions? options=null) |
There are cases when one project needs to compose from one pre-existing rigid folder structure of one dependency to another rigid folder structure of the current project. For scenarios like this Nuke.Cola provides this extension method which will copy/link the target folder and its contents according to some instructions expressed by either an export.yml file in the imported folder or provided explicitly from ImportFolderItem. | |
| static IEnumerable< ImportedItem > | WithFilesExpanded (this IEnumerable< ImportedItem > importedItems, string pattern="*", int depth=40) |
| The result of ImportFolder only contain directory references if they were imported explicitly as a directory as a singular item (so not via file globbing). However there are cases in which all affected files should be minded. WithFilesExpanded converts the result of ImportFolder into a proper flat list of files only. It can work with pretended data as well, maintaining correct relations between From / To members. | |
Static Private Member Functions | |
| static string | ProcessSuffix (this string target, ImportFolderSuffixes? suffixes, string leads="_.:") |
| static AbsolutePath | ProcessSuffixPath (this AbsolutePath target, ImportFolderSuffixes? suffixes, AbsolutePath? until=null, string leads="_.:") |
| static void | ProcessSuffixContent (this AbsolutePath target, ImportFolderSuffixes? suffixes, string leads="_.:") |
Definition at line 125 of file FolderComposition.cs.
|
static |
There are cases when one project needs to compose from one pre-existing rigid folder structure of one dependency to another rigid folder structure of the current project. For scenarios like this Nuke.Cola provides this extension method which will copy/link the target folder and its contents according to some instructions expressed by either an export.yml file in the imported folder or provided explicitly from ImportFolderItem.
| self | For easier access this is an extension method |
| import | The folder import from / to pair. Optionally can specify an export manifest. ImportFolderItem |
| options | When and by default true, a subfolder is created for the import, or when false, the folder is composited with the given target folder directly. |
Definition at line 223 of file FolderComposition.cs.
|
static |
Convenience method for specifying multiple folder from/to pairs for ImportFolder
| self | For easier access this is an extension method |
| options | When and by default true, a subfolder is created for the import, or when false, the folder is composited with the given target folder directly. |
| imports | The folder import from / to pair. Optionally can specify an export manifest. ImportFolderItem |
|
static |
|
staticprivate |
Definition at line 127 of file FolderComposition.cs.
|
staticprivate |
Definition at line 154 of file FolderComposition.cs.
|
staticprivate |
Definition at line 141 of file FolderComposition.cs.
|
static |
The result of ImportFolder only contain directory references if they were imported explicitly as a directory as a singular item (so not via file globbing). However there are cases in which all affected files should be minded. WithFilesExpanded converts the result of ImportFolder into a proper flat list of files only. It can work with pretended data as well, maintaining correct relations between From / To members.
| importedItems | |
| pattern | |
| depth |