Skip to content

Commit

Permalink
remove unused tools
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Jan 28, 2023
1 parent 6fbd1b8 commit 99f2569
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1,133 deletions.
20 changes: 1 addition & 19 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@
"version": 1,
"isRoot": true,
"tools": {
"fake-cli": {
"version": "5.23.0",
"commands": [
"fake"
]
},
"paket": {
"version": "7.2.0-alpha001",
"commands": [
"paket"
]
},
"octonav": {
"version": "0.0.1",
"commands": [
"octonav"
]
},
"dotnet-reportgenerator-globaltool": {
"version": "5.0.2",
"commands": [
Expand All @@ -33,4 +15,4 @@
]
}
}
}
}
17 changes: 2 additions & 15 deletions build/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ open Fake.DotNet
open Fake.Core.TargetOperators
open Fake.Tools

System.Environment.CurrentDirectory <- (Path.combine __SOURCE_DIRECTORY__ "..")

let project = "FsAutoComplete"
let changeLogFile = "CHANGELOG.md"
let mutable changelogs = Changelog.load changeLogFile
Expand Down Expand Up @@ -101,16 +99,6 @@ let init args =
(fun p -> { p with Configuration = DotNet.BuildConfiguration.fromString configuration })
"FsAutoComplete.sln")

Target.create "ReplaceFsLibLogNamespaces"
<| fun _ ->
let replacements =
[ "FsLibLog\\n", "FsAutoComplete.Logging\n"
"FsLibLog\\.", "FsAutoComplete.Logging" ]

replacements
|> List.iter (fun (``match``, replace) ->
(!! "paket-files/TheAngryByrd/FsLibLog/**/FsLibLog*.fs")
|> Shell.regexReplaceInFilesWithEncoding ``match`` replace System.Text.Encoding.UTF8)

Target.create "Format" (fun _ ->
let result =
Expand Down Expand Up @@ -210,13 +198,12 @@ let init args =
"PromoteUnreleasedToVersion" ==> "CreateVersionTag" ==> "Promote"
|> ignore<string>

"Restore" ==> "ReplaceFsLibLogNamespaces" ==> "Build" |> ignore<string>
"Restore" ==> "Build" |> ignore<string>

"CheckFormat" ==> "Build" ==> "LspTest" ==> "Coverage" ==> "Test" ==> "All"
|> ignore<string>

"ReplaceFsLibLogNamespaces"
==> "LocalRelease"
"LocalRelease"
==> "ReleaseArchive"
==> "Release"
|> ignore<string>
Expand Down
1 change: 1 addition & 0 deletions build/build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
<PackageReference Include="Fake.DotNet" Version="2.0.0" />
<PackageReference Include="Fake.DotNet.Cli" Version="5.23.1" />
<PackageReference Include="Fake.Tools.Git" Version="5.23.1" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.1.768" />
</ItemGroup>
</Project>
73 changes: 0 additions & 73 deletions paket.dependencies

This file was deleted.

Loading

0 comments on commit 99f2569

Please sign in to comment.