forked from FakeBuild/Xake
-
Notifications
You must be signed in to change notification settings - Fork 0
Tasks | Misc file tasks
Oleg edited this page May 16, 2017
·
2 revisions
Writes text string to a current target (the target which the current rule is started for).
rules [
"readme.txt" ..> writeText "This is new readme file and it was intentionally left blank"
]Copies the file contents to a current target.
rules [
"bin/helloworld.config" ..> copyFrom "src/App.config"
]Copies the file contents to a specific file (directory name is not accepted).
do! copyFile "src/App.config" "bin/App.exe.config"