Skip to content

glx cache build

Build (or rebuild) the binary cache for an archive

Synopsis

Parse the archive and write a fresh binary cache to .glx/cache.bin.

Without --force this is a no-op when the cache is already fresh. The build always reads the YAML files (never an existing cache) so the result reflects the archive's current on-disk state.

If no path is given, the current directory is used.

glx cache build [archive-path] [flags]

Examples

  # Build a cache for the current directory
  glx cache build

  # Build a cache for a specific archive
  glx cache build my-family-archive

  # Force a rebuild
  glx cache build --force

Options

  -f, --force   Rebuild even if the cache is already fresh
  -h, --help    help for build

Options inherited from parent commands

  -q, --quiet   Suppress non-error output (where supported)

SEE ALSO

  • glx cache - Manage the binary archive cache for fast repeated loading

Licensed under Apache License 2.0