Rash thoughts about .NET, C#, F# and Dynamics NAV.


"Every solution will only lead to new problems."

Saturday, 26. January 2013


Running FAKE targets from the command line

Filed under: F#,FAKE - F# Make — Steffen Forkmann at 12:47 Uhr

In this short sample I assume you have the latest version of FAKE in ./FAKE/tools/. Now consider the following small FAKE script:

If you are on windows then create this small redirect script:

On mono you can use:

Now you can run FAKE targets easily from the command line:

image

This gives us the power to build scaffolding tasks or something like that.

Tags: ,

1 Comment »

  1. [...] Steffen Forkmann wrote “Running FAKE targets from the command line“. [...]

    Pingback by F# Weekly #4, 2013 « Sergey Tihon's Blog — Sunday, 27. January 2013 um 15:55 Uhr

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .