Publish website in FAKE (F# Make) -


is possible publish website instead of building part of fake script?

i not have experience myself, looks there 2 ways run web deploymnent process hand. 1 (looks older) invoke msbuild special target (as described here) , option (looks more modern) use msdeploy tool (which has command line interface).

both of these should easy call fake script. here sample calls command line tool:

target "deploy" (fun _ ->     let result =         execprocess (fun info ->              info.filename <- "file-to-run.exe"             info.arguments <- "--parameters:go-here"         ) (system.timespan.fromminutes 1.0)          if result <> 0 failwith "operation failed or timed out" ) 

calling msbuild script should this:

target "buildtest" (fun _ ->     "blah.csproj"     |> msbuildrelease "" "resolvereferences;_copywebapplication"      |> ignore ) 

as said, have not tested (so might wrong), can point useful direction, before web deployment or fake experts come so!


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -