Skip to content

rubrapack 0.31.0

Choose a tag to compare

@rubidus-api rubidus-api released this 02 Oct 01:29

Conveniences: what an error means, answers in JSON for scripts, and a schema for editors.

Added

  • rubrapack explain RP1612 says what a diagnostic code is about, shows every message that carries it, what to do, and where the manual says more. Without a code it lists the ranges.
  • --json on lint (a source, a package, --previous, an MSIX) prints one JSON object - the file, the exit code, the error and warning counts, and each diagnostic with its line, column, severity, code and message - with the usual exit code. On inspect <file.msi> it gives every table, one table, or the summary information as JSON.
  • rubrapack schema prints the JSON Schema of sources: every table, its keys, which are required, which take true/false or a number. Saved as rubrapack.schema.json and named on a source's first line (#:schema ./rubrapack.schema.json), editors built on Taplo - Visual Studio Code's Even Better TOML among them - complete keys while you type and mark misspelled ones.

The message table of explain and the schema are made from rubrapack's own code, and the tests fail when either falls behind it. Every source in the test suite validates against the schema.

Manual

  • Web: https://rubidus-api.github.io/rubrapack/ - tutorial chapter 18, "What an error means" and "For scripts"; chapter 19, "In an editor"; Reference, "Command line".
  • PDF: rubrapack-manual-0.31.0-en.pdf, rubrapack-manual-0.31.0-ko.pdf (attached)

Downloads

File For
rubrapack-0.31.0-windows-x64.exe Windows x64, tested on Windows 11 (single file, cross-built with MinGW-w64)
rubrapack-0.31.0-linux-x86_64 Linux x86-64, glibc 2.38 or later (Debian 13, Ubuntu 24.04 and later)
SHA256SUMS checksums of the files above