Skip to content

CrossLint 0.4.2

Choose a tag to compare

@github-actions github-actions released this 04 Dec 10:43
· 131 commits to trunk since this release

Added

  • On Ctrl-C or SIGTERM, CrossLint says at once on standard error that it is stopping, as crosslint: stopping on SIGINT or crosslint: stopping on SIGTERM, with --quiet and --silent too, before it ends its helpers.

Changed

  • On macOS and Linux, Ctrl-C ends CrossLint by SIGINT once it has ended its helpers, so a shell script that runs it stops too. Before, CrossLint exited with status 130, which a shell shows the same, but which told the script that CrossLint had handled the interrupt itself, so the script went on to its next command. On Windows, CrossLint exits with 130 on Ctrl-C, as before.
  • crosslint --version prints three lines, for a bug report: the version, with the commit the archive was built from as Semantic Versioning build metadata, as in crosslint 0.5.0+e83c516; the platform the archive was built for, as in built for linux-x86_64; and the Ruby the archive carries, as ruby --version prints it. A script that reads the version reads the first line. Before, it printed only crosslint and the version. Run from a clone of the repository, the first line has no commit, and the second says that no build stamped the copy.

Fixed

  • On SIGTERM, CrossLint ends every helper and everything it started at once, as it does on Ctrl-C. Before, it gave each helper up to 2 seconds to exit. Ctrl-C or SIGTERM while a plugin's helper declares the plugin's artifacts ends that helper at once too; before, CrossLint gave it up to 2 seconds to exit.