Last active
September 23, 2015 04:16
-
-
Save SjB/d7e68f0e07afd3ed8e34 to your computer and use it in GitHub Desktop.
Run a external CakeScript with the same arguments
This file contains 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
Action<FilePath, string> CakeScript = delegate(FilePath script, string tgt) { | |
var args = new Dictionary<string,string>() { | |
{"target", tgt}, | |
{"configuration", configuration}, | |
{"platform", platform} | |
}; | |
CakeExecuteScript(File("./Attenuator/build.cake"), new CakeSettings { Arguments = args }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment