Skip to content

Commit 8bb91a9

Browse files
treewide: update project structure
Splitting up the project into: - src - tests - samples - benchmarks This change was driven by that fact that viewing in github the project names cannot be read as they are too long.
1 parent 238114a commit 8bb91a9

File tree

112 files changed

+168
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+168
-71
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
workflow_dispatch:
88
inputs:
99
version_bump:
10-
description: 'release version'
10+
description: "release version"
1111
required: true
12-
default: 'patch'
12+
default: "patch"
1313
type: choice
1414
options:
15-
- patch
16-
- minor
17-
- major
15+
- patch
16+
- minor
17+
- major
1818

1919
jobs:
2020
test:
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: '8.0.x'
30+
dotnet-version: "8.0.x"
3131

3232
- name: Run tests
3333
run: dotnet test
@@ -37,8 +37,8 @@ jobs:
3737
runs-on: ubuntu-latest
3838
needs: test
3939
env:
40-
CORE_PROJECT_PATH: "CmdScale.EntityFrameworkCore.TimescaleDB/CmdScale.EntityFrameworkCore.TimescaleDB.csproj"
41-
DESIGN_PROJECT_PATH: "CmdScale.EntityFrameworkCore.TimescaleDB.Design/CmdScale.EntityFrameworkCore.TimescaleDB.Design.csproj"
40+
CORE_PROJECT_PATH: "src/Eftdb/Eftdb.csproj"
41+
DESIGN_PROJECT_PATH: "src/Eftdb.Design/Eftdb.Design.csproj"
4242

4343
steps:
4444
- name: Checkout repository
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup .NET
5151
uses: actions/setup-dotnet@v4
5252
with:
53-
dotnet-version: '8.0.x'
53+
dotnet-version: "8.0.x"
5454

5555
- name: Read, Bump, and Update Version
5656
id: version_bumper
@@ -108,4 +108,4 @@ jobs:
108108
109109
- name: Publish to NuGet.org
110110
run: |
111-
dotnet nuget push "./packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source "https://api.nuget.org/v3/index.json"
111+
dotnet nuget push "./packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source "https://api.nuget.org/v3/index.json"

CmdScale.EntityFrameworkCore.TimescaleDB.sln

Lines changed: 135 additions & 46 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<RootNamespace>CmdScale.EntityFrameworkCore.TimescaleDB.Benchmarks</RootNamespace>
89
</PropertyGroup>
910

1011
<ItemGroup>
@@ -18,7 +19,7 @@
1819
</ItemGroup>
1920

2021
<ItemGroup>
21-
<ProjectReference Include="..\CmdScale.EntityFrameworkCore.TimescaleDB.Example.DataAccess\CmdScale.EntityFrameworkCore.TimescaleDB.Example.DataAccess.csproj" />
22+
<ProjectReference Include="..\..\samples\Eftdb.Samples.Shared\Eftdb.Samples.DataAccess.csproj" />
2223
</ItemGroup>
2324

2425
</Project>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<RootNamespace>CmdScale.EntityFrameworkCore.TimescaleDB.Samples.CodeFirst</RootNamespace>
89
</PropertyGroup>
910

1011
<ItemGroup>
@@ -13,8 +14,8 @@
1314
</ItemGroup>
1415

1516
<ItemGroup>
16-
<ProjectReference Include="..\CmdScale.EntityFrameworkCore.TimescaleDB.Example.DataAccess\CmdScale.EntityFrameworkCore.TimescaleDB.Example.DataAccess.csproj" />
17-
<ProjectReference Include="..\CmdScale.EntityFrameworkCore.TimescaleDB.Design\CmdScale.EntityFrameworkCore.TimescaleDB.Design.csproj" />
17+
<ProjectReference Include="..\..\samples\Eftdb.Samples.Shared\Eftdb.Samples.DataAccess.csproj" />
18+
<ProjectReference Include="..\..\src\Eftdb.Design\Eftdb.Design.csproj" />
1819
</ItemGroup>
1920

2021
<ItemGroup>

0 commit comments

Comments
 (0)