mix ascii.golden (Ascii v0.3.0)

Copy Markdown View Source

Regenerates test/fixtures/golden/*.json and test/fixtures/js_math.json from an upstream checkout, by running tools/gen_golden.mjs and tools/gen_js_math.mjs under Node.

mix ascii.golden                 # every piece
mix ascii.golden donut cube      # some pieces

Options

  • --upstream DIR - the upstream checkout (default tmp/upstream)
  • --node PATH - the Node to run (default $NODE, then node). It must be an x64 build of Node 22.18 or later; see PORTING.md.

This is a development tool: mix test reads the committed fixtures and never needs Node.