Created
October 5, 2012 04:07
-
-
Save miklund/3838023 to your computer and use it in GitHub Desktop.
FAKE ExecProcess build target example
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
let fslex = @"packages\FSPowerPack.Community.2.1.3.1\Tools\fslex.exe" | |
let parserDir = @".\LiteMedia.Dsl\" | |
// FsParse | |
Target "FsYacc" (fun _ -> | |
let result = | |
ExecProcess (fun info -> | |
info.FileName <- fsyacc | |
info.Arguments <- parserDir + "parser.fsy --module Parser" | |
) (System.TimeSpan.FromMinutes 1.) | |
if result <> 0 then failwith "Failed result from fsyacc" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment