Skip to content

Commit 4356300

Browse files
committed
Console,FunctionalTest: change assembly name
Of FSharpLint.Console from dotnet-fsharplint to fsharplint. This way it will be published as fsharplint package and the tool name will be just fsharplint, not dotnet-fsharplint.
1 parent ecb10e9 commit 4356300

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build+test+deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ jobs:
152152
</configuration>
153153
EOF
154154
- name: Install FSharpLint from downloaded binaries
155-
run: dotnet tool install --global dotnet-fsharplint --prerelease --framework net8.0
155+
run: dotnet tool install --global fsharplint --prerelease --framework net8.0
156156
- name: Add .NET tools to PATH
157157
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
158158
- name: Lint FSharpLint.Console project (net8.0 only)
159-
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0
159+
run: fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0

src/FSharpLint.Console/FSharpLint.Console.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageTags>F#;fsharp;lint;FSharpLint;fslint;cli</PackageTags>
1010
<PackageType>DotNetCliTool</PackageType>
1111
<PackAsTool>true</PackAsTool>
12-
<AssemblyName>dotnet-fsharplint</AssemblyName>
12+
<AssemblyName>fsharplint</AssemblyName>
1313
<RootNamespace>FSharpLint.Console</RootNamespace>
1414
<IsPackable>true</IsPackable>
1515
<RollForward>Major</RollForward>

tests/FSharpLint.FunctionalTest/TestConsoleApplication.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module Tests =
3939
|> Seq.sortByDescending _.Name
4040
|> Seq.tryHead
4141
match dllDir with
42-
| Some dir -> dir.FullName </> "dotnet-fsharplint.dll"
42+
| Some dir -> dir.FullName </> "fsharplint.dll"
4343
| None -> failwithf "No target framework folder found in %s" binDir.FullName
4444

4545
let startInfo = ProcessStartInfo

0 commit comments

Comments
 (0)