You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Fake Runner Action

The Fake action runner allows users to extend the functionality of Continua by providing integration with FAKE.  

"FAKE - F# Make" is a build automation system with capabilities which are similar to make and rake. Fake uses an easy domain-specific language (DSL) so that you can start using it without specifically learning F#.

For more information about the project and documentation please visit the FAKE Project Website.

Fake Action runner properties Dialog Box

Name

A name for this given step (this will appear within the stage action list).

Enabled

Is this action enabled.  A step which is not enabled is effectively skipped when executing the given stage.

Fake File

Optional - Specify the path and name of the Fake file to be used.  If no file is specified, then Fake will search the working folder for a file named build.sfx.

Working Folder

Optional - Specify the working folder (relative to the build workspace).  If not specified, then the build workspace folder is used.  This folder should generally be where the Fake file lives, unless the Fake file is specified.

Fake Target

Optional - The build target which this action should run against.  If no target is specified the target designated within your "RunTargetOrDefault" parameter (located within your script file) will be used.

Command Line Options

Optional - Additional command line arguments which will be passed to Fake.

Enable Trace

Turn on Invoke/Execute Tracing, enable full verbosity of output

An example Fake File

 

build.fsx
// include Fake lib
#r @"C:\Program Files (x86)\fake\tools\FakeLib.dll"

open Fake
// Default target
Target "Default" (fun _ ->
    trace "Hello World from FAKE"
)
// Default target
Target "superhappy test" (fun _ ->
    trace "super happy test from FAKE"
)
// start build
RunTargetOrDefault "Default"

 

 

 

 

 

 

 

  • No labels