forked from FakeBuild/Xake
-
Notifications
You must be signed in to change notification settings - Fork 0
Tasks | Inner functions
Oleg edited this page Mar 30, 2017
·
4 revisions
TBD
Prints the message to output log. The message is printed if output verbosity level includes message level.
- Level parameter must take one of the following values: Level.Message, Level.Error, Level.Command, Level.Warning, Level.Info, Level.Debug, Level.Verbose, Level.Never
do! trace Level.Info "Using csc compiler version %s" "1.0"need function is widely used internally and it is a key element for dependency tracking. Calling need ensures the requested files are built according to rules.
The action is paused until all dependencies are resolved and built.
do! need ["bin/app.exe"; "bin/app.exe.config"]Evalutes the fileset to a list of file names.
Gets action context.
Gets the variable value (and records dependency!).
Gets environment variable (and records dependency!).
Instructs Xake to rebuild the target even if dependencies are not changed. this is expecially important for phony actions which do not produce a file.