feat(site): one-line install scripts for macOS, Linux, and Windows - #74
Merged
Conversation
Add curl|sh and irm|iex installers that fetch a prebuilt circ-compile for the user's platform: curl -fsSL https://circ-lang.org/install.sh | sh (macOS, Linux) irm https://circ-lang.org/install.ps1 | iex (Windows) Both resolve the version from a `downloads/latest` pointer so they track what is actually published, honor CIRC_VERSION and CIRC_INSTALL_DIR, and install to ~/.local/bin or %LOCALAPPDATA%\circ\bin. The Download page gains a Quick install section showing both, and build-dist.sh now writes the `latest` pointer alongside the archives.
sync-reference.ts output had drifted: the committed reference pages still described the old setPin(id, value) / getOutputState API. Regenerate them from DOCS so getting-started, wasm-api, circuit-format, and preview match the paired-BigInt runtime API (setPin(id, value, defined), getOutputValue and getOutputDefined) and the multi-bit format.
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.
What
One-line installers that fetch a prebuilt
circ-compilefor the user's platform:curl -fsSL https://circ-lang.org/install.sh | shirm https://circ-lang.org/install.ps1 | iexBoth resolve the version from a
downloads/latestpointer (so they always matchwhat is actually published), honor
CIRC_VERSIONandCIRC_INSTALL_DIR, andinstall to
~/.local/binor%LOCALAPPDATA%\circ\bin. The Download page gains a"Quick install" section showing both, and
tools/build-dist.shnow writes thelatestpointer next to the archives.Notes
shanddash) and was run end toend against the live site. The PowerShell script was reviewed statically but
not executed (no
pwshavailable when authoring); it should get one run onWindows.
tools/build-dist.shre-run onmain(to publish the currentarchives plus the new
latestpointer) and a site deploy. Until then theone-liners are correct but the default version lookup has nothing to resolve
to;
CIRC_VERSION=<x.y.z>is the escape hatch.