FscHelper
Nested types and modules
Type | Description |
FscParams
|
'fsc.exe' command line parameters
|
FscPlatform
|
The 'fsc.exe' output platforms
|
FscTarget
|
The 'fsc.exe' output target types
|
Functions and values
Function or value | Description |
fsc setParams inputFiles
Signature: setParams:(FscParams -> FscParams) -> inputFiles:string list -> int
|
Compiles the given F# source files with the specified parameters.
Parameters
setParams - Function used to overwrite the default Fsc parameters.
inputFiles - The F# input files.
Returns
The exit status code of the compile process.
Sample
["file1.fs"; "file2.fs"]
|> fsc (fun parameters ->
{ parameters with Output = ...
FscTarget = ...
... })
|
Fsc setParams inputFiles
Signature: setParams:(FscParams -> FscParams) -> inputFiles:string list -> unit
|
Compiles one or more F# source files with the specified parameters.
Parameters
setParams - Function used to overwrite the default Fsc parameters.
inputFiles - The F# input files.
Sample
["file1.fs"; "file2.fs"]
|> Fsc (fun parameters ->
{ parameters with Output = ...
FscTarget = ...
... })
|
fscList srcFiles opts
Signature: srcFiles:string list -> opts:string list -> int
|
Compiles the given source file with the given options. If no options
given (i.e. the second argument is an empty list), by default tries
to behave the same way as would the command-line 'fsc.exe' tool.
|