mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
* fix(test): ensure bats file list uses xargs * docs(readme): use yarn for testing instructions * fix(test): ensure pipelines fail properly * docs(alias): fix table header --------- Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
327 B
327 B
x-compare-versions.py
Compare version strings using Python's packaging library.
Usage
echo "1.2.3 >= 1.0.0" | x-compare-versions.py
The script reads comparison expressions from standard input and exits with status 0 if all comparisons are true.