Copy file and replace

4 views
Skip to first unread message

Kerry Todyruik

unread,
Feb 3, 2016, 4:25:36 AM2/3/16
to FAKE - F# Make
Hi,

I was wondering what the best way to do a file copy and token replace at the same time in Fake is?


I can't seem to find the equivalent functionality in Fake, though. Would appreciate if somebody could point that out to me.

Thanks,
Kerry

Jérémie Bertrand

unread,
Feb 5, 2016, 3:48:24 AM2/5/16
to FAKE - F# Make
I don't think you can do this at once, but you can use functions from FileHelper to do that, like MoveFile and RegexReplaceInFileWithEncoding or ReplaceInFiles.
Reply all
Reply to author
Forward
0 new messages