Xake icon indicating copy to clipboard operation
Xake copied to clipboard

Create the directory for dependencies database automatically

Open OlegZee opened this issue 7 years ago • 0 comments

In case the database path is specified as in the following script the execution fails:

do xake {ExecOptions.Default with DbFileName = ".xaake/deps.xa"} {
   ...
}

Expected behavior:

  • xake creates the folder (.xaake in the example above) automatically

Workaround:

  • add CreateDirectory instruction as follows:
System.IO.Directory.CreateDirectory ".xaake" |> ignore

do xake {ExecOptions.Default with DbFileName = ".xaake/deps.xa"} {
    ....

OlegZee avatar Mar 16 '18 03:03 OlegZee