-
Notifications
You must be signed in to change notification settings - Fork 4
Reference | Settings
Oleg edited this page Mar 30, 2017
·
1 revision
Example of script with some options set.
do xakeScript {
dryrun
filelog "errors.log" Verbosity.Chatty
consolelog Verbosity.Quiet
var "NETFX" "2.0"
want ["build"]
rules [
...
Defines a script variable value.
The dryrun
keyword in the script instructs xake to simulate execution of the script without running the rules itself. Xake tool displays the dependencies list and execution time estimates. Respective command-line option is --dryrun
.
This option allows to specify the name of the log file and the detailization level.
The only parameter specifies verbosity level for console output. If not specified Chatty
will be used.
Defines a default list of targets in case it was not set in script parameters (e.g. XakeOptions.Wants).
The same as above but overrides the list of targets passed via parameters.
- 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
- ...