Skip to content

Commit

Permalink
Delete Paket and FAKE (#662)
Browse files Browse the repository at this point in the history
Reasons:
- In the past years, as far as I remember, almost every single time I've come back to release a small change to FsCheck, FAKE has failed to work and needed additional time investment on my part. Paket has been less of a hassle in that regard, but still has been somewhat painful. (I'm not assiging blame, just making an observation.)
- Not many people are as familiar with fake/paket as they are with dotnet /nuget, so it is my hope this will enable more contributions.
  • Loading branch information
Smaug123 authored Feb 25, 2024
1 parent cb94818 commit 2e5fdba
Show file tree
Hide file tree
Showing 39 changed files with 913 additions and 861 deletions.
14 changes: 1 addition & 13 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,11 @@
"version": 1,
"isRoot": true,
"tools": {
"fake-cli": {
"version": "6.0.0",
"commands": [
"fake"
]
},
"fsharp.formatting.commandtool": {
"version": "9.0.4",
"commands": [
"fsdocs"
]
},
"paket": {
"version": "7.1.5",
"commands": [
"paket"
]
}
}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,5 @@ project.lock.json
.fsdocs/
output/
tmp/

.idea/
12 changes: 8 additions & 4 deletions src/Directory.Build.props → Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project>
<Import Condition="Exists('version.props')" Project="version.props" />

<PropertyGroup>
<Copyright>Copyright 2008</Copyright>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<Copyright>Copyright 2008-2024</Copyright>
<Authors>Kurt Schelfthout and contributors</Authors>
<PackageTags>F# fsharp test random</PackageTags>
<RepositoryUrl>https://github.com/Fscheck/fscheck</RepositoryUrl>
<PackageProjectUrl>https://fscheck.github.io/FsCheck/</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<DebugType>embedded</DebugType>
<PackageIconUrl>https://raw.githubusercontent.com/fscheck/FsCheck/master/docs/files/img/logo.png</PackageIconUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>test;testing;random;fscheck;quickcheck</PackageTags>
</PropertyGroup>
</Project>
</Project>
46 changes: 46 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<Project>
<ItemGroup>
<PackageVersion Include="FSharp.Core" Version="5.0.2" />
<PackageVersion Include="Microsoft.CodeCoverage" Version="16.11" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.11" />
<PackageVersion Include="Microsoft.NETCore.Platforms" Version="5.0.2" />
<PackageVersion Include="Microsoft.NETCore.Targets" Version="5.0" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" />
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="16.11" />
<PackageVersion Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageVersion Include="MSTest.TestFramework" Version="2.2.7" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.1" />
<PackageVersion Include="NuGet.Frameworks" Version="5.11" />
<PackageVersion Include="NUnit" Version="[3.13.1,4.0.0)" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.0" />
<PackageVersion Include="System.Buffers" Version="4.5.1" />
<PackageVersion Include="System.Collections" Version="4.3" />
<PackageVersion Include="System.Collections.Immutable" Version="5.0" />
<PackageVersion Include="System.Diagnostics.Debug" Version="4.3" />
<PackageVersion Include="System.Diagnostics.TextWriterTraceListener" Version="4.3" />
<PackageVersion Include="System.Diagnostics.TraceSource" Version="4.3" />
<PackageVersion Include="System.Globalization" Version="4.3" />
<PackageVersion Include="System.IO" Version="4.3" />
<PackageVersion Include="System.Memory" Version="4.5.4" />
<PackageVersion Include="System.Numerics.Vectors" Version="4.5" />
<PackageVersion Include="System.Reflection" Version="4.3" />
<PackageVersion Include="System.Reflection.Metadata" Version="5.0" />
<PackageVersion Include="System.Reflection.Primitives" Version="4.3" />
<PackageVersion Include="System.Resources.ResourceManager" Version="4.3" />
<PackageVersion Include="System.Runtime" Version="4.3.1" />
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="5.0" />
<PackageVersion Include="System.Runtime.Extensions" Version="4.3.1" />
<PackageVersion Include="System.Text.Encoding" Version="4.3" />
<PackageVersion Include="System.Threading" Version="4.3" />
<PackageVersion Include="System.Threading.Tasks" Version="4.3" />
<PackageVersion Include="Unquote" Version="6.0" />
<PackageVersion Include="xunit" Version="2.4.1" />
<PackageVersion Include="xunit.abstractions" Version="2.0.3" />
<PackageVersion Include="xunit.analyzers" Version="0.10" />
<PackageVersion Include="xunit.assert" Version="2.4.1" />
<PackageVersion Include="xunit.core" Version="2.4.1" />
<PackageVersion Include="xunit.extensibility.core" Version="2.4.1" />
<PackageVersion Include="xunit.extensibility.execution" Version="[2.4.1, 3.0.0)" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.3" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion FsCheck.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.config\dotnet-tools.json = .config\dotnet-tools.json
FsCheck Release Notes.md = FsCheck Release Notes.md
License.txt = License.txt
paket.dependencies = paket.dependencies
README.md = README.md
EndProjectSection
EndProject
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ Check out the project and run build.cmd on Windows or build.sh on Linux/OSX. Tha

For Visual Studio/MonoDevelop/Xamarin Studio/VsCode: open (the folder that contains) FsCheck.sln and start coding.

FsCheck uses FAKE, run `build.[cmd|sh] -t <Target>` to do something. Important targets are:
FsCheck uses a build script inspired by FAKE. Run `build.[cmd|sh] -t <Target>` (or `dotnet fsi build.fsx -t <Target>`) to do something. Important targets are:

* `Build`: cleanly builds all platforms in Release mode.
* `Tests`: builds and runs the tests.
* `Docs`: builds and generates documentation. FsCheck uses FSharp.Formatting, so literate fsx files in the docs folder.
* `WatchDocs`: convenient when developing documentation - starts a local webserver and watches for changes in the docs folder.
* `PacketPack`: Creates NuGet packages.
* `NuGetPack`: Creates NuGet packages.
* `CI`: Target that is run on AppVeyor, basically all of the above.

## CI ##
Expand Down
3 changes: 1 addition & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
cls
dotnet --info
dotnet tool restore
dotnet paket restore
dotnet fake run build.fsx %*
dotnet fsi build.fsx %*
Loading

0 comments on commit 2e5fdba

Please sign in to comment.