Skip to content

Commit

Permalink
Merge pull request #2804 from nojaf/bump-fantomas
Browse files Browse the repository at this point in the history
Update to Fantomas v6.0
  • Loading branch information
nojaf authored Mar 27, 2023
2 parents 7293a94 + 79c3c2b commit a8725d9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"fantomas": {
"version": "5.2.1",
"version": "6.0.0-alpha-007",
"commands": [
"fantomas"
]
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ fsharp_blank_lines_around_nested_multiline_expressions=false
fsharp_keep_max_number_of_blank_lines=1

[tests/*.fsx]
fsharp_multiline_block_brackets_on_same_column = true
fsharp_multiline_bracket_style = aligned
5 changes: 4 additions & 1 deletion .fantomasignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
obj/**/*.fs
src/Fantomas.FCS/generated
src/Fantomas.FCS/generated
.deps
fake-sample/source.fs
tests/data
6 changes: 3 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#r "nuget: Fun.Build, 0.3.1"
#r "nuget: Fun.Build, 0.3.8"
#r "nuget: CliWrap, 3.5.0"
#r "nuget: FSharp.Data, 5.0.2"

Expand Down Expand Up @@ -67,7 +67,7 @@ pipeline "Build" {
"src/Fantomas.Client/obj/Release" |]
)
}
stage "CheckFormat" { run "dotnet fantomas src docs build.fsx --recurse --check" }
stage "CheckFormat" { run "dotnet fantomas src docs build.fsx --check" }
stage "Build" { run "dotnet build -c Release" }
stage "UnitTests" { run "dotnet test -c Release" }
stage "Benchmark" { run $"dotnet {benchmarkAssembly}" }
Expand Down Expand Up @@ -176,7 +176,7 @@ pipeline "Docs" {

pipeline "FormatAll" {
workingDir __SOURCE_DIRECTORY__
stage "Fantomas" { run "dotnet fantomas src docs build.fsx --recurse" }
stage "Fantomas" { run "dotnet fantomas src docs build.fsx" }
runIfOnlySpecified true
}

Expand Down

0 comments on commit a8725d9

Please sign in to comment.