Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Oct 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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