Skip to content

Commit

Permalink
Set DOTNET_CLI_UI_LANGUAGE to en-us when running dotnet tool command. (
Browse files Browse the repository at this point in the history
…#1925)

* Set DOTNET_CLI_UI_LANGUAGE to en-us when running dotnet tool command.

* Add RepositoryUrl.

* Bump Fantomas.Client version to 0.3.1
  • Loading branch information
nojaf committed Oct 26, 2021
1 parent 9d350e5 commit 117d65e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ let owner = "Anh-Dung Phan"
let tags =
"F# fsharp formatting beautifier indentation indenter"

let fantomasClientVersion = "0.3.0"
let fantomasClientVersion = "0.3.1"

// (<solutionFile>.sln is built during the building process)
let solutionFile = "fantomas"
Expand Down
3 changes: 2 additions & 1 deletion src/Fantomas.Client/Fantomas.Client.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<Description>Companion library to format using fantomas tool.</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarnOn>3390;$(WarnOn)</WarnOn>
Expand All @@ -11,6 +11,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
<RepositoryUrl>https://github.com/fsprojects/fantomas</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="paket.references" />
Expand Down
1 change: 1 addition & 0 deletions src/Fantomas.Client/FantomasToolLocator.fs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ let private readOutputStreamAsLines (outputStream: StreamReader) : string list =
let private runToolListCmd (Folder workingDir) (globalFlag: bool) =
let ps = ProcessStartInfo("dotnet")
ps.WorkingDirectory <- workingDir
ps.EnvironmentVariables.Add("DOTNET_CLI_UI_LANGUAGE", "en-us")

ps.Arguments <-
if globalFlag then
Expand Down
1 change: 1 addition & 0 deletions src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<WarningsAsErrors>FS0025</WarningsAsErrors>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageIcon>fantomas_logo.png</PackageIcon>
<RepositoryUrl>https://github.com/fsprojects/fantomas</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Fantomas.Client\Fantomas.Client.fsproj" />
Expand Down
1 change: 1 addition & 0 deletions src/Fantomas.Extras/Fantomas.Extras.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
<RepositoryUrl>https://github.com/fsprojects/fantomas</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="paket.references" />
Expand Down
1 change: 1 addition & 0 deletions src/Fantomas/Fantomas.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
<RepositoryUrl>https://github.com/fsprojects/fantomas</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="paket.references" />
Expand Down

0 comments on commit 117d65e

Please sign in to comment.