Deep.Net


Config

Namespace: Models

Configuration loader.

Functions and values

Function or valueDescription
baseDir
Signature: string

First ancessor directory of configuration file directory that contains a "Cfg" subdirectory.

cfgDir
Signature: string

Directory of the currently loading configuration file.

load path
Signature: path:string -> '?176046
Type parameters: '?176046

Load configuration F# script (.fsx file) and returns the variable named "cfg".

loadAndChdir path
Signature: path:string -> '?176048
Type parameters: '?176048

Loads configuration script and changes current directory to output directory for that configuration.

Fork me on GitHub