Skip to content

Commit c4d8c10

Browse files
authored
Merge pull request #25 from dbrattli/update-project
Update project structure
2 parents 4f4d42b + 3b6008a commit c4d8c10

File tree

10 files changed

+1297
-1147
lines changed

10 files changed

+1297
-1147
lines changed

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"paket": {
6+
"version": "9.0.2",
7+
"commands": [
8+
"paket"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Setup .NET Core
17-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: 3.1.301
20-
- name: Setup dotnet manifest
21-
run: dotnet new tool-manifest
22-
- name: Setup paket
23-
run: dotnet tool install Paket
19+
dotnet-version: 9.0.300
20+
- name: Restore tools
21+
run: dotnet tool restore
2422
- name: Install dependencies
25-
run: dotnet restore
23+
run: dotnet paket restore
2624
- name: Build
27-
run: dotnet build --configuration Release --no-restore
25+
run: dotnet build --configuration Release
2826
- name: Test
29-
run: dotnet test --no-restore --verbosity normal
27+
run: dotnet test --verbosity normal

.github/workflows/publish.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ jobs:
1111
timeout-minutes: 10
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v1
14+
uses: actions/checkout@v4
1515

1616
- name: Setup .NET Core
17-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: 3.1.301
19+
dotnet-version: 9.0.300
2020

21-
- name: Setup dotnet manifest
22-
run: dotnet new tool-manifest
23-
- name: Setup paket
24-
run: dotnet tool install Paket
25-
- name: Dotnet Pack
26-
run: dotnet pack -c release -p:PackageVersion=${GITHUB_REF##*/v}
21+
- name: Restore tools
22+
run: dotnet tool restore
23+
- name: Install dependencies
24+
run: dotnet paket restore
25+
- name: Build
26+
run: dotnet build --configuration Release
27+
- name: Pack
28+
run: dotnet pack -c Release -p:PackageVersion=${GITHUB_REF##*/v}
2729

2830
- name: Push Feliz.ViewEngine Nuget
2931
run: dotnet nuget push src/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}

.paket/Paket.Restore.targets

Lines changed: 510 additions & 439 deletions
Large diffs are not rendered by default.

Feliz.Bulma.ViewEngine/.paket/Paket.Restore.targets

Lines changed: 510 additions & 439 deletions
Large diffs are not rendered by default.

Feliz.Bulma.ViewEngine/Feliz.Bulma.ViewEngine.fsproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
<ItemGroup>
2424
<Content Include="*.fsproj; *.fs; *.js;" PackagePath="fable\" />
2525
</ItemGroup>
26-
<Import Project=".paket\Paket.Restore.targets" />
26+
<ItemGroup>
27+
<ProjectReference Include="..\src\Feliz.ViewEngine.fsproj" />
28+
</ItemGroup>
29+
<Import Project="..\.paket\Paket.Restore.targets" />
2730
</Project>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
group Main
1+
group Bulma
22

3-
Fsharp.Core
3+
FSharp.Core
44
Feliz.ViewEngine

paket.dependencies

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ group Test
1919
nuget Microsoft.NET.Test.Sdk ~> 16
2020
nuget MSTest.TestAdapter ~> 1
2121
nuget MSTest.TestFramework ~> 1
22+
23+
group Bulma
24+
source https://www.nuget.org/api/v2
25+
storage: none
26+
framework: netstandard2.0
27+
28+
nuget FSharp.Core ~> 4.7 lowest_matching: true
29+
nuget Feliz.ViewEngine >= 0.15

paket.lock

Lines changed: 230 additions & 246 deletions
Large diffs are not rendered by default.

test/Tests.Feliz.ViewEngine.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net9</TargetFramework>
66
<GenerateProgramFile>false</GenerateProgramFile>
77
</PropertyGroup>
88
<ItemGroup>

0 commit comments

Comments
 (0)