Expand description
superfluid self update|list|use|check|install: releases side by side under $SUPERFLUID_HOME/versions, a
current link the commands on PATH go through, and the daily check serve runs.
Structs§
- Check
$SUPERFLUID_HOME/update-check.json: the last read, the newest release that fit, and the version announced.- Options
- Release
- Report
- What
self updatedid, line by line. - Versions
$SUPERFLUID_HOME/versions: a directory per release,current,previous, andprefixnaming the bin directory that links here.
Enums§
- Engine
- What a release must declare to drive the baseRT engine here.
- Installed
- Where the running executable came from, which decides who updates it.
Constants§
- HELP
- HOLD_
OFF_ DAYS - A release younger than this is not announced by the daily check, so early reports land first.
- LISTING_
ENV - Where the release listing is read from, for a mirror or a test: a URL or a file.
- NO_
CHECK_ ENV - REPO
Functions§
- check_
in_ background - What
serveruns once the server is up: one listing read a day at most, one line per new release. - check_
now - Read the listing now and record the newest release that fits here and is past the hold-off.
- engine_
here - fetch_
releases - fits
- Whether
releasedrives the engine;compatfetches its compat.json when the asset names alone do not say. - install_
from self install --from <dir> [--prefix <dir>]: an unpacked release placed into the layout and made current; the install script’s last step.- installed_
as - list
self list.- listing_
source - The release listing to read:
SUPERFLUID_RELEASES, else GitHub’s. - newest
- The newest release that fits, skipping ones published fewer than
hold_offdays ago when given. - releases
- The releases of the listing with a tarball for
target, newest first; drafts and prereleases left out. - run
superfluid self <action> ...; the exit code.- running
- running_
from - Whether another process runs an executable under
dir. - target
- The release asset name for this build’s platform.
- tick
- One round: the cache when not yet due, else the listing; the line to print for a release not yet announced.
- update
self update: the newest release that fits, or the one named.- use_
version self use <v>.