yazeedobaid on master
Bump version to 6.0.0-beta001 Merge pull request #2727 from f… (compare)
1<System.String>, Microsoft.FSharp.Core.FSharpOption
1<System.String>, Microsoft.FSharp.Core.FSharpOption1<System.String>, Microsoft.FSharp.Core.FSharpOption
1<System.String>, Boolean, Boolean, CliArguments)'.)1<System.String>, Microsoft.FSharp.Core.FSharpOption
1<System.String>, Microsoft.FSharp.Core.FSharpOption1<System.String>, Microsoft.FSharp.Core.FSharpOption
1<System.String>, Boolean, Boolean, CliArguments)'.MSBuild.build setParams "my.sln"
, then in setParams
I do set the PublishDir
, but that setting will be relative to each project and I want it to be in ./build/publish/projectX
and ./build/publish/projectY
.
AppendTargetFrameworkToOutputPath
but instead AppendProjectName
or something.
Fake.JavaScript.Yarn.install (fun o ->
{ o with
WorkingDirectory = someDirectory
})
'node' is not recognized as an internal or external command,
operable program or batch file.
Ok looking at the source code, there is indeed a parameter called YarnFilePath. So that takes care of specifying the path to yarn. Now from @matthid 's advice, I correctly specified, albeit manually, the path to node and running the script worked.
However, I am now struggling with dynamically adding the node path to PATH:
Environment.setEnvironVar "PATH" nodeDirPath
because when I then run
let newEnvPath = Environment.pathDirectories
newEnvPath
|> Seq.iter(fun x ->
Trace.log (sprintf "----->%s" x))
the new path is not there
YarnFilePath
(or we need to update the module to support this scenario)