Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
switch to paket
Browse files Browse the repository at this point in the history
add tests project
add update tools.fsx
  • Loading branch information
AngelMunoz committed Oct 17, 2022
1 parent b7f1a18 commit cdd7975
Show file tree
Hide file tree
Showing 25 changed files with 2,037 additions and 107 deletions.
6 changes: 6 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 13,12 @@
"commands": [
"fable"
]
},
"paket": {
"version": "7.1.5",
"commands": [
"paket"
]
}
}
}
557 changes: 557 additions & 0 deletions .paket/Paket.Restore.targets

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions Perla.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31717.71
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{602F10B7-E4E8-4692-932A-5BC1D0F7E0B1}"
ProjectSection(SolutionItems) = preProject
paket.dependencies = paket.dependencies
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EBA7993D-AB8A-4F76-8E91-1903BFD523F1}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "Perla", "src\Perla\Perla.fsproj", "{37A5F6A7-5FA6-4839-8798-5034BD522202}"
Expand Down Expand Up @@ -35,6 40,10 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Nacre", "experiments\Nacre\
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "experiments", "experiments", "{C8ADA96F-C0A3-4E39-9863-2ACE67AD30F6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{5C4E5179-198B-45FD-B3B2-6ACF362AA793}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Perla.Tests", "tests\Perla.Tests\Perla.Tests.fsproj", "{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -129,6 138,18 @@ Global
{A950B3A1-D546-43F4-A9B8-F8DBC1132761}.Release|x64.Build.0 = Release|Any CPU
{A950B3A1-D546-43F4-A9B8-F8DBC1132761}.Release|x86.ActiveCfg = Release|Any CPU
{A950B3A1-D546-43F4-A9B8-F8DBC1132761}.Release|x86.Build.0 = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|x64.ActiveCfg = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|x64.Build.0 = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|x86.ActiveCfg = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Debug|x86.Build.0 = Debug|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|Any CPU.Build.0 = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|x64.ActiveCfg = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|x64.Build.0 = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|x86.ActiveCfg = Release|Any CPU
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -141,6 162,7 @@ Global
{627243A7-10E6-4A4D-9A3D-466CC96004F1} = {EBA7993D-AB8A-4F76-8E91-1903BFD523F1}
{47282206-8708-40D9-B719-244917138D8C} = {8A91A834-42C4-4F4E-96F7-2A3F6EEAF86D}
{A950B3A1-D546-43F4-A9B8-F8DBC1132761} = {C8ADA96F-C0A3-4E39-9863-2ACE67AD30F6}
{34AE674A-CE46-4542-AF7B-9AD5D87A97B1} = {5C4E5179-198B-45FD-B3B2-6ACF362AA793}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7D4871D9-18C5-4755-8967-0F93A78C7715}
Expand Down
48 changes: 19 additions & 29 deletions experiments/Nacre/Nacre/Nacre.fsproj
Original file line number Diff line number Diff line change
@@ -1,29 1,19 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Compile Include="Types.fs" />
<Compile Include="Extensions.fs" />
<Compile Include="Server.fs" />
<Compile Include="Commands.fs" />
<Compile Include="Program.fs" />
</ItemGroup>

<ItemGroup>
<Content Include="mock.js" CopyToOutputDirectory="PreserveNewest" />
<Content Include="test.tpl.html" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Argu" Version="6.1.1" />
<PackageReference Include="Giraffe" Version="6.0.0" />
<PackageReference Include="Microsoft.Playwright" Version="1.25.0" />
<PackageReference Include="scriban" Version="5.5.0" />
<PackageReference Include="Spectre.Console" Version="0.45.0" />
</ItemGroup>

</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Types.fs" />
<Compile Include="Extensions.fs" />
<Compile Include="Server.fs" />
<Compile Include="Commands.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<Content Include="mock.js" CopyToOutputDirectory="PreserveNewest" />
<Content Include="test.tpl.html" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<Import Project="..\..\..\.paket\Paket.Restore.targets" />
</Project>
6 changes: 6 additions & 0 deletions experiments/Nacre/Nacre/paket.references
Original file line number Diff line number Diff line change
@@ -0,0 1,6 @@
FSharp.Core
Spectre.Console
Scriban
Giraffe
Argu
Microsoft.Playwright
46 changes: 46 additions & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 1,46 @@
source https://api.nuget.org/v3/index.json

nuget FSharp.Core
nuget FSharp.UMX 1.1.0
nuget FSharp.Compiler.Service 41.0.6
nuget FSharp.Control.AsyncSeq 3.2.1
nuget FSharp.Control.Reactive 5.0.5
nuget FsToolkit.ErrorHandling 3.0.0
nuget FsToolkit.ErrorHandling.TaskResult 3.0.0
nuget FSharp.SystemCommandLine >= 0.13.0-beta4 prerelease

nuget AngleSharp 0.17.1
nuget Flurl.Http 3.2.4
nuget CliWrap 3.5.0
nuget Spectre.Console 0.45.0
nuget LiteDB 5.0.12
nuget Scriban 5.5.0
nuget Zio 0.15.0
nuget SharpZipLib 1.4.0
nuget Hellang.Middleware.SpaFallback 2.0.0
nuget Fake.IO.FileSystem 5.23.0

nuget System.CommandLine >= 2.0.0-beta4.22272.1 prerelease
nuget Microsoft.Extensions.Logging 6.0.0
nuget Yarp.ReverseProxy 1.1.1

# Experiments specific packages

nuget Argu 6.1.1
nuget Giraffe 6.0.0
nuget Microsoft.Playwright 1.25.0

group Samples
source https://api.nuget.org/v3/index.json

nuget Sutil >= 1.0.0-0 prerelease
nuget Fable.Browser.Dom >= 2.0
nuget Fable.Browser.Event >= 1.0

group Tests
source https://api.nuget.org/v3/index.json

nuget Microsoft.NET.Test.Sdk 17.3.2
nuget xunit 2.4.2
nuget xunit.runner.visualstudio 2.4.5
nuget coverlet.collector 3.1.2
Loading

0 comments on commit cdd7975

Please sign in to comment.