Beispiel #1
0
 private void TransformText( FilePath textFilePath, string configuration, SimpleRepositoryInfo gitInfo )
 {
     Cake.TransformTextFile( textFilePath, "{{", "}}" )
             .WithToken( "configuration", configuration )
             .WithToken( "NuGetVersion", gitInfo.NuGetVersion )
             .WithToken( "CSemVer", gitInfo.SemVer )
             .Save( textFilePath );
 }