Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ distroless container (`ghcr.io/nullean/assembly-differ`) and a GitHub Action (`a
| `src/assembly-differ.skills` | the `assembly-differ.skills` package: the agent skill (`skills/assembly-differ/SKILL.md`), content only. Keep it in step with the CLI |
| `src/assembly-differ/Engine` | the comparison: reads both assemblies with System.Reflection.Metadata and reports what differs |
| `tests/assembly-differ.Tests` | TUnit tests that run the built tool as a process on assemblies Roslyn compiles from C# source |
| `build/scripts` | the F# build ([Nullean.Make.Fs](https://www.nuget.org/packages/Nullean.Make.Fs), net11.0) the `mise` tasks and CI call |
| `build/scripts` | the F# build ([Runna.Fs](https://www.nuget.org/packages/Runna.Fs), net11.0) the `mise` tasks and CI call |
| `build/keys` | the strong-name key the tool's own assembly is signed with |
| `action.yml` | the GitHub Action: runs the `edge` container image |

Expand Down Expand Up @@ -86,6 +86,6 @@ one release label.
Removing or renaming any of it is a breaking change. `ApiCommands.cs` holds the commands, `DiffRunner.cs` the
comparison they share with `diff`.
- The build diffs this tool against its own previous release (`generateapichanges`), so a broken diff fails its own CI.
- Build targets are Make.Fs `target { }` blocks in `build/scripts/Program.fs` whose commands are Proc.Fs `sh $"…"`
- Build targets are Runna.Fs `target { }` blocks in `build/scripts/Program.fs` whose commands are Proc.Fs `sh $"…"`
lines; values come from `text` inside `shell { }` (`Versions.fs`). Do not call the C# `ProcNet` API from the build.
CI calls targets by name (`./build.sh generatepackages -s`): keep multi-word case names as one word.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

<!-- build/scripts -->
<ItemGroup>
<!-- under CPM the F# SDK adds no implicit FSharp.Core; Nullean.Make.Fs needs 11.0.100 or later -->
<!-- under CPM the F# SDK adds no implicit FSharp.Core; Runna.Fs needs 11.0.100 or later -->
<PackageVersion Include="FSharp.Core" Version="11.0.101" />
<!-- brings its own Proc and Proc.Fs -->
<PackageVersion Include="Nullean.Make.Fs" Version="0.30.0" />
<PackageVersion Include="Runna.Fs" Version="0.2.0" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions build/scripts/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module Program
open System
open System.IO
open System.Runtime.InteropServices
open Nullean.Make.Fs
open Nullean.Runna.Fs
open Proc.Fs

/// The build's targets; `./build.sh --help` lists them with these descriptions. Make.Fs turns a case name into
/// The build's targets; `./build.sh --help` lists them with these descriptions. Runna.Fs turns a case name into
/// kebab-case, so the multi-word ones are spelled as one word: CI calls `generatepackages`, `publishcontainers`, ...
type Target =
/// clean known output locations
Expand Down Expand Up @@ -37,7 +37,7 @@ let private toolProject = Paths.RootRelative Paths.ToolProject.FullName

[<EntryPoint>]
let main argv =
let app = MakeApp<Target>("./build.sh", None)
let app = RunnaApp<Target>("./build.sh", None)
let push =
app.Flag("--push", desc = "publishcontainers only: push the built image to ghcr.io instead of building it into the local Docker daemon")

Expand Down
4 changes: 2 additions & 2 deletions build/scripts/scripts.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net11.0</TargetFramework>
<!-- Nullean.Make.Fs reads the target descriptions from the /// comments in Program.fs -->
<!-- Runna.Fs reads the target descriptions from the /// comments in Program.fs -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FSharp.Core" />
<PackageReference Include="Nullean.Make.Fs" />
<PackageReference Include="Runna.Fs" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading