-
Notifications
You must be signed in to change notification settings - Fork 4
Tasks | Fsc
Oleg edited this page Mar 30, 2017
·
1 revision
Some of the settings are described below:
Name | Default value | Description |
---|---|---|
Target | Auto | Target assembly type |
Out | current target file | Output file. Use File.make to construct instance from string. |
Src | Fileset.Empty | Fileset, defining source files. |
Ref | Fileset.Empty | Fileset, list of referenced assemblies |
RefGlobal | [] | List, defining referenced framework assembly names. E.g. ["System.dll"; "System.Drawing.dll"] |
TargetFramework | null (auto) | |
CommandArgs | [] | Additional command-line arguments for csc.exe. |
It has to be revised as it was simply copied from csc task TBD
do! Fsc {
FscSettings with
Src = sources
Ref = !! "bin/FSharp.Core.dll" + "bin/nunit.framework.dll" + "bin/Xake.Core.dll"
RefGlobal = ["mscorlib.dll"; "System.dll"; "System.Core.dll"]
Define = ["TRACE"]
CommandArgs = ["--optimize+"; "--warn:3"; "--warnaserror:76"; "--utf8output"]
}
- Creating simple script
- Running the first build
- What the rule and recipe is?
- Filesets defined
- Editing the script
- Configure your project and CI
- Defining filesets
- Recipe computation
- Declaring the rules
- Error handling and exceptions
- Script and environment settings
- Command line interface (CLI)
- Writing cross-platform scripts
- Build-in functions
- .NET tasks
- System tasks
- Other
- ...