Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active July 20, 2017 00:58
Show Gist options
  • Save dcomartin/393b7370eef55fb2f591d64414bf0939 to your computer and use it in GitHub Desktop.
Save dcomartin/393b7370eef55fb2f591d64414bf0939 to your computer and use it in GitHub Desktop.
#r "Cake.AppSettingsReplacer.dll"
var target = Argument("target", "Default");
Task("Default")
.Does(() =>
{
ReplaceAppSetting("App.config", "Website", "CodeOpinion.com");
});
RunTarget(target);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment