Created
September 25, 2016 22:54
-
-
Save patriksvensson/d879c764c2914c07863ce6cd86147937 to your computer and use it in GitHub Desktop.
Cake and FAKE sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task("Test").Does(() => { | |
Information("Testing stuff..."); | |
} | |
Task("Deploy").IsDependentOn("Test").Does(() => { | |
Information("Heavy deploy action"); | |
} | |
RunTarget("Deploy"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "tools/FAKE/tools/FakeLib.dll" // include Fake lib | |
open Fake | |
Target "Test" (fun _ -> | |
trace "Testing stuff..." | |
) | |
Target "Deploy" (fun _ -> | |
trace "Heavy deploy action" | |
) | |
"Test" // define the dependencies | |
==> "Deploy" | |
Run "Deploy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment