diff --git a/.editorconfig b/.editorconfig index ac776271..2ceeb725 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,9 @@ indent_style = space trim_trailing_whitespace = true max_line_length = 120 +[*.{md,sh}] +end_of_line = lf + # MSBuild [*.{csproj,proj,projitems,shproj,fsproj,target,props}] indent_style = space @@ -90,4 +93,4 @@ dotnet_diagnostic.VSTHRD002.severity = none # VSTHRD103: Call async methods when in an async method dotnet_diagnostic.VSTHRD103.severity = none # VSTHRD200: Use "Async" suffix for async methods -dotnet_diagnostic.VSTHRD200.severity = none \ No newline at end of file +dotnet_diagnostic.VSTHRD200.severity = none diff --git a/README.md b/README.md index 62fa0a70..d669d250 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Alternatively, you can install from Homebrew: brew install structuredlogviewer ``` -## Building & Running the Avalonia version on Mac: +## Building & Running the Avalonia version on Mac/Linux: ``` git clone https://github.com/KirillOsenkov/MSBuildStructuredLog diff --git a/run.sh b/run.sh index 89de7147..d7d864e9 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,3 @@ #!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd "${DIR}/src/StructuredLogViewer.Avalonia" || exit -dotnet run StructuredLogViewer.Avalonia.csproj +dotnet run --project "${DIR}/src/StructuredLogViewer.Avalonia" -- "$@"