“FAKE - F# Make” 是构建自动化系统,类似 make 和 rake。FAKE 使用简单的指定域名语言(DSL),不需要学习 F# 就可以轻松入门。
#r "tools/FAKE/tools/FakeLib.dll" // include Fake lib open Fake Target "Test" (fun _ -> trace "Testing stuff...") Target "Deploy" (fun _ -> trace "Heavy deploy action")"Test" // define the dependencies ==> "Deploy"Run "Deploy"