Ranvier.Build.Recipes
0.2.2
dotnet add package Ranvier.Build.Recipes --version 0.2.2
NuGet\Install-Package Ranvier.Build.Recipes -Version 0.2.2
<PackageReference Include="Ranvier.Build.Recipes" Version="0.2.2" />
<PackageVersion Include="Ranvier.Build.Recipes" Version="0.2.2" />
<PackageReference Include="Ranvier.Build.Recipes" />
paket add Ranvier.Build.Recipes --version 0.2.2
#r "nuget: Ranvier.Build.Recipes, 0.2.2"
#:package Ranvier.Build.Recipes@0.2.2
#addin nuget:?package=Ranvier.Build.Recipes&version=0.2.2
#tool nuget:?package=Ranvier.Build.Recipes&version=0.2.2
Ranvier.Build.Recipes
Composable .NET, EasyBuild.ShipIt, and ranvier-org cohort build recipes built on
Ranvier.Build.
Each module exposes small record configurations, reusable Opt definitions, PlainStage / Stage
builders, and ready-made Command groups that compose à la carte inside cli { ... }.
Modules
1. Dotnet (.NET Restore, Build, Test, Fantomas, and NativeAOT)
| Member | Purpose |
|---|---|
Dotnet.Opts |
Reusable configuration (-c, default Release), quick (-q), skipTests, dryFormat, and isCi options |
Dotnet.Stages.restoreToolsIsolated |
Restores each entry in .config/dotnet-tools.json via an isolated .config/.tool-restore/<tool>.json manifest without mutating disk during --explain |
Dotnet.Stages.restore |
Runs tool restore (isolated or shared) and dotnet restore, skipped when --quick is set |
Dotnet.Stages.build |
Builds configured projects or solutions in -c <configuration> |
Dotnet.Stages.testTracedAndUntraced |
Runs each test project untraced and with -p:RanvierTrace=true |
Dotnet.Stages.fantomas / fantomasCheck |
Discovers .fs files (excluding build/vendor outputs) and runs dotnet fantomas in bounded command-line batches well under Windows CreateProcessW limits |
Dotnet.Stages.aotSmoke |
Publishes and executes a NativeAOT smoke binary under a sanitized child PATH (Dotnet.sanitizedAotPath) |
2. Cohort (Dual .Traced Packaging, NuGet Push, and Sibling Checkouts)
| Member | Purpose |
|---|---|
Cohort.Stages.packDual |
Cleans stale .nupkg/.snupkg artifacts, packs each project with RanvierTrace=false and RanvierTrace=true, and runs node .github/scripts/packages.cjs when present |
Cohort.Stages.nugetPush |
Pushes *.nupkg with --skip-duplicate, Opt.sensitive NUGET_API_KEY / --nuget-key redaction, --dry-publish, and failIfSkipped when no key is supplied |
Cohort.Commands.dev |
Provides dev setup, dev local (cloning missing checkouts, validating marker .fsproj paths, and writing XML-escaped Local.Build.props), and dev packages |
3. ShipIt (CRLF-Safe EasyBuild.ShipIt Integration)
EasyBuild.ShipIt 3.3.0 ignores YAML front matter when CHANGELOG.md uses CRLF line endings.
ShipIt guards local runs automatically:
ShipIt.checkChangelogsLf root normalize: Scans repositoryCHANGELOG.mdfiles for\r\nin YAML front matter, either returning an actionable error or normalizing to LF (--normalize-lf) while preserving UTF-8 encoding.ShipIt.Stages.bumpLocal root: Verifies LF front matter before invokingdotnet shipit --mode local.ShipIt.Commands.shipit root: Exposesshipit bump,shipit generate,shipit github(with redacted--token/GITHUB_TOKEN),shipit setup, andshipit init {project,changelog,workflows,github}.
Example
open Ranvier.Build
open Ranvier.Build.Recipes
let root = __SOURCE_DIRECTORY__
[<EntryPoint>]
let main argv =
runCli argv {
cliName "build"
workdir root
Cohort.Commands.dev
{ Root = root
Solution = "MyRepo.slnx"
CoreRanvierRootDefault = "../Ranvier"
ExtraSiblings = [] }
command "pack" {
Dotnet.Stages.restore
{ Root = root
Solution = "MyRepo.slnx"
IsolateTools = true }
Cohort.Stages.packDual
{ Root = root
Projects = [ "src/MyLib/MyLib.fsproj" ]
OutputDir = "bin"
ExternalCorePackages = [ "Ranvier" ] }
}
ShipIt.Commands.shipit root
}
Packages
| Package | Description |
|---|---|
Ranvier.Build.Recipes |
Standard release build (net10.0, exact [version] sibling dependency on Ranvier.Build) |
Ranvier.Build.Recipes.Traced |
Traced twin compiled against Ranvier.Build.Traced ([version] exact sibling dependency) |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FSharp.Core (>= 9.0.100)
- Ranvier.Build (= 0.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Pre-1.0 release. The API may change before 1.0.