f#-fake

What does a double exclamation mark (!!) in Fsharp / FAKE?

心不动则不痛 提交于 2019-12-01 16:45:48
I've come across the following code and can not understand what operation the double exclamation marks provide. This code-snipet is from a FAKE script used in a CICD system. Microsoft's Symbol and Operator Reference does not list this operator, nor can I find it in FAKE's API Reference . !! (projectPackagePath + "/*.zip") |> Seq.iter(fun path -> trace ("Removing " + path) ShellExec tfCommand ("delete " + path + " /noprompt") Another example of usage let buildLabelFiles = !!(labelPath @@ "*.txt") Tomas Petricek The !! operator takes a file pattern and returns a collection of files matching the

What does a double exclamation mark (!!) in Fsharp / FAKE?

扶醉桌前 提交于 2019-12-01 15:25:16
问题 I've come across the following code and can not understand what operation the double exclamation marks provide. This code-snipet is from a FAKE script used in a CICD system. Microsoft's Symbol and Operator Reference does not list this operator, nor can I find it in FAKE's API Reference. !! (projectPackagePath + "/*.zip") |> Seq.iter(fun path -> trace ("Removing " + path) ShellExec tfCommand ("delete " + path + " /noprompt") Another example of usage let buildLabelFiles = !!(labelPath @@ "*.txt

No executable found matching command “dotnet-tool”

南笙酒味 提交于 2019-12-01 15:04:41
I'm trying to install Fake from the official site with the following command (provided at the site): dotnet tool install fake-cli -g But I am getting the following error: No executable found matching command "dotnet-tool" My dotnet version is 2.1.201 , and I am running Windows 10 Professional, with all of the latest updates. The dotnet tool command is only installed with the release of .NET Core SDK version 2.1.300 and later. You need to update your SDK to make this command available. In addition to DavidG answer : To check .NET Core SDK versions installed run dotnet --info Even if the

No executable found matching command “dotnet-tool”

巧了我就是萌 提交于 2019-12-01 13:55:43
问题 I'm trying to install Fake from the official site with the following command (provided at the site): dotnet tool install fake-cli -g But I am getting the following error: No executable found matching command "dotnet-tool" My dotnet version is 2.1.201 , and I am running Windows 10 Professional, with all of the latest updates. 回答1: The dotnet tool command is only installed with the release of .NET Core SDK version 2.1.300 and later. You need to update your SDK to make this command available.

Visual Studio Online Build treats git output as errors

删除回忆录丶 提交于 2019-12-01 08:19:51
My build in Visual Studio Online tries to deploy my Azure web site via Kudu . The script works fine, and deployment goes through, but VSO treats git output as errors for some reason, and declares the whole build failed. Take a look at the screenshot below. Some details: This is a "new scripted" build, not a XAML-defined one. Build definition has just one step, which executes a PowerShell script, which runs F# FAKE (not sure if this is relevant). When I run the same script on my local machine, I don't see any "strange" output, including the [K at the end of each line. After running on my local,

Visual Studio Online Build treats git output as errors

风流意气都作罢 提交于 2019-12-01 05:53:35
问题 My build in Visual Studio Online tries to deploy my Azure web site via Kudu. The script works fine, and deployment goes through, but VSO treats git output as errors for some reason, and declares the whole build failed. Take a look at the screenshot below. Some details: This is a "new scripted" build, not a XAML-defined one. Build definition has just one step, which executes a PowerShell script, which runs F# FAKE (not sure if this is relevant). When I run the same script on my local machine,

FAKE: How to define MSBuild properties?

我怕爱的太早我们不能终老 提交于 2019-11-29 10:04:32
I want to switch from MSBuild to FAKE. In my MSBuild script I create a Webdeploy package by invoking MSBuild with the properties DeployOnBuild=True and DeployTarget=Package. This will trigger webdeploy to generate a deployment package while the build is running: <MSBuild Projects="@(ItemToBuild)" Targets="Build" Properties="Configuration=$(Configuration); Platform=$(Platform); DeployOnBuild=True; DeployTarget=Package; OutFolder=$(OutFolder)" /> How can I do the same thing with FAKE? I've come this far: Target "Build" (fun _ -> !! solutionFile |> MSBuildRelease binDir "Build" |> Log "Build

FAKE: How to define MSBuild properties?

社会主义新天地 提交于 2019-11-28 03:28:52
问题 I want to switch from MSBuild to FAKE. In my MSBuild script I create a Webdeploy package by invoking MSBuild with the properties DeployOnBuild=True and DeployTarget=Package. This will trigger webdeploy to generate a deployment package while the build is running: <MSBuild Projects="@(ItemToBuild)" Targets="Build" Properties="Configuration=$(Configuration); Platform=$(Platform); DeployOnBuild=True; DeployTarget=Package; OutFolder=$(OutFolder)" /> How can I do the same thing with FAKE? I've come