Skip to content

Commit

Permalink
remove extraneous period from project name
Browse files Browse the repository at this point in the history
  • Loading branch information
cruikshj committed May 19, 2024
1 parent 31fea3a commit 8fbcd78
Show file tree
Hide file tree
Showing 46 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Publish (linux-x64)
run: dotnet publish ${{ github.workspace }}/src/ServerManager.DiscordBot/ServerManager.DiscordBot.csproj -c Release -r linux-x64 -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true --self-contained -o ${{ github.workspace }}/publish/linux-x64
run: dotnet publish ${{ github.workspace }}/src/ServerManagerDiscordBot/ServerManagerDiscordBot.csproj -c Release -r linux-x64 -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true --self-contained -o ${{ github.workspace }}/publish/linux-x64
- name: Publish (win-x64)
run: dotnet publish ${{ github.workspace }}/src/ServerManager.DiscordBot/ServerManager.DiscordBot.csproj -c Release -r win-x64 -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true --self-contained -o ${{ github.workspace }}/publish/win-x64
run: dotnet publish ${{ github.workspace }}/src/ServerManagerDiscordBot/ServerManagerDiscordBot.csproj -c Release -r win-x64 -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true --self-contained -o ${{ github.workspace }}/publish/win-x64
- name: Upload release asset (linux-x64)
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}/publish/linux-x64/ServerManager.DiscordBot
asset_name: ServerManager.DiscordBot_${{ github.event.release.tag_name }}_linux-x64
asset_path: ${{ github.workspace }}/publish/linux-x64/ServerManagerDiscordBot
asset_name: ServerManagerDiscordBot_${{ github.event.release.tag_name }}_linux-x64
asset_content_type: application/octet-stream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release asset (win-x64)
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}/publish/win-x64/ServerManager.DiscordBot.exe
asset_name: ServerManager.DiscordBot_${{ github.event.release.tag_name }}_win-x64.exe
asset_path: ${{ github.workspace }}/publish/win-x64/ServerManagerDiscordBot.exe
asset_name: ServerManagerDiscordBot_${{ github.event.release.tag_name }}_win-x64.exe
asset_content_type: application/octet-stream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/ServerManager.DiscordBot/bin/Debug/net8.0/ServerManager.DiscordBot.dll",
"program": "${workspaceFolder}/src/ServerManagerDiscordBot/bin/Debug/net8.0/ServerManagerDiscordBot.dll",
"args": [],
"cwd": "${workspaceFolder}/src/ServerManager.DiscordBot",
"cwd": "${workspaceFolder}/src/ServerManagerDiscordBot",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false,
Expand Down
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/ServerManager.DiscordBot/ServerManager.DiscordBot.csproj",
"${workspaceFolder}/src/ServerManagerDiscordBot/ServerManagerDiscordBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -19,7 +19,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/ServerManager.DiscordBot/ServerManager.DiscordBot.csproj",
"${workspaceFolder}/src/ServerManagerDiscordBot/ServerManagerDiscordBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -32,7 +32,7 @@
"args": [
"watch",
"run",
"${workspaceFolder}/src/ServerManager.DiscordBot/ServerManager.DiscordBot.csproj",
"${workspaceFolder}/src/ServerManagerDiscordBot/ServerManagerDiscordBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
WORKDIR /source

ARG PROJECT_NAME=ServerManager.DiscordBot
ARG PROJECT_NAME=ServerManagerDiscordBot

COPY src/${PROJECT_NAME}/${PROJECT_NAME}.csproj .
RUN dotnet restore
Expand All @@ -20,4 +20,4 @@ RUN apt-get update && apt-get install -y apt-transport-https ca-certificates cur
apt-get update && apt-get install -y docker-ce-cli && \
apt-get clean && rm -rf /var/lib/apt/lists/*

ENTRYPOINT dotnet ServerManager.DiscordBot.dll
ENTRYPOINT dotnet ServerManagerDiscordBot.dll
4 changes: 2 additions & 2 deletions ServerManager.DiscordBot.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F777902F-D759-4843-8F54-6786E1FC59CA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManager.DiscordBot", "src\ServerManager.DiscordBot\ServerManager.DiscordBot.csproj", "{624BF89C-5541-4BD5-AB7E-B50758AE3172}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManagerDiscordBot", "src\ServerManagerDiscordBot\ServerManagerDiscordBot.csproj", "{624BF89C-5541-4BD5-AB7E-B50758AE3172}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{4EF12ECF-89F6-4EC1-9536-B5980616BF71}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerManager.DiscordBot.UnitTests", "tests\ServerManager.DiscordBot.UnitTests\ServerManager.DiscordBot.UnitTests.csproj", "{3EDD60CC-A637-434B-844D-4027D1BD798C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerManagerDiscordBot.UnitTests", "tests\ServerManagerDiscordBot.UnitTests\ServerManagerDiscordBot.UnitTests.csproj", "{3EDD60CC-A637-434B-844D-4027D1BD798C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
6 changes: 3 additions & 3 deletions examples/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ This example shows how to run the bot application executable.
_folder structure (windows)_
```
C:\some\folder
ServerManager.DiscordBot.exe
ServerManagerDiscordBot.exe
appsettings.yaml
```

_folder structure (linux)_
```
/some/folder
ServerManager.DiscordBot
ServerManagerDiscordBot
appsettings.yaml
```

Expand Down Expand Up @@ -51,7 +51,7 @@ This example expands on the above example to show how the bot can managed a dedi
_folder structure (windows)_
```
C:\some\folder
ServerManager.DiscordBot.exe
ServerManagerDiscordBot.exe
appsettings.yaml

C:\other\folder
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>ServerManager.DiscordBot</RootNamespace>
<AssemblyName>ServerManager.DiscordBot</AssemblyName>
<RootNamespace>ServerManagerDiscordBot</RootNamespace>
<AssemblyName>ServerManagerDiscordBot</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>

<RootNamespace>ServerManager.DiscordBot</RootNamespace>
<RootNamespace>ServerManagerDiscordBot</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand All @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\ServerManager.DiscordBot\ServerManager.DiscordBot.csproj" />
<ProjectReference Include="..\..\src\ServerManagerDiscordBot\ServerManagerDiscordBot.csproj" />
</ItemGroup>

</Project>

0 comments on commit 8fbcd78

Please sign in to comment.