diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2025-01-09 17:00:09 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-01-27 01:27:03 +0200 |
| commit | 6ee583e119b432fee03f908547729d5da030397e (patch) | |
| tree | 0846a0ed84b6a0c27ec0610c55ccc1ee8786e6b2 /docs/markdown/snippets | |
| parent | aecff97e186f40575944c923bb9c43a39fe9708b (diff) | |
| download | meson-6ee583e119b432fee03f908547729d5da030397e.tar.gz | |
allow to compare multiple version with version_compare
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/multiple_version_compare.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/multiple_version_compare.md b/docs/markdown/snippets/multiple_version_compare.md new file mode 100644 index 000000000..5e8c7582f --- /dev/null +++ b/docs/markdown/snippets/multiple_version_compare.md @@ -0,0 +1,8 @@ +## `version_compare` now accept multiple compare strings + +Is it now possible to compare version against multiple values, to check for +a range of version for instance. + +```meson +'1.5'.version_compare('>=1', '<2') +``` |
