feat: show build and package management on the home page - #215
Merged
Conversation
The tooling comparison table claims that flix is its own build tool and package manager, but nothing on the page showed a manifest or what resolution looks like. Adds a section between termination checking and the test framework: a flix.toml declaring a GitHub dependency and a Maven one, above the resolution output of the following build. The test framework row flips to code-left so the two new rows keep the page alternating. Extracts PlainSnippet for the blocks that are not Flix. This is the third such block - terminal output twice and TOML once - and CodeSnippet only knows the Flix grammar, so it would colour all three as if they were code. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tooling comparison table further down the page claims that
flixis its own build tool and package manager, but nothing on the page showed a manifest or what dependency resolution looks like.Adds a section between Termination Checking and Built-in Test Framework, text-left / code-right.
What it shows
A
flix.tomlwith package metadata, a Flix dependency from GitHub, and a JAR from Maven:and, stacked underneath it, what the next build prints:
Same two-block shape as the test framework section, so the pair reads as "the config, then what the tool does with it". The Maven coordinate is the same in both blocks so they agree.
Layout
The test framework row flips to code-left, which keeps the three rows alternating:
PlainSnippet
This is the third block on the page that is not Flix — terminal output twice, TOML once — and
CodeSnippetonly knows the Flix grammar, so it would colour all three as if they were code. The inline markup is nowsrc/components/PlainSnippet.astro, and the test output added in #214 uses it too. No rendered change to that block; I checked all three still come out verbatim.npm run checkandnpm run buildboth pass, and the new card is clear of the #212 inline-whitespace trap.🤖 Generated with Claude Code