5 Commits

Author SHA1 Message Date
Alexander Grund
0cbf1c087b Add special case for tribool to get_libname.py
Fixes #271
2025-03-01 15:24:49 +01:00
Alexander Grund
d6b30d89ae CI: Trim trailing whitespace 2024-05-11 12:37:35 +02:00
Alexander Grund
24d98336a1 get_libname: Add license 2023-12-23 11:14:13 +01:00
Alexander Grund
f1dd8c8c4e get_libname: Support a list of libraries in libraries.json
Currently the script expects `libraries.json` to contain a dict with the
library metadata.
However it can contain information about multiple sub-libraries,
e.g. in Boost.Utility or Boost.Functional in which case the top-level
struct is a list containing a dict for each sub-library.
It is also possible to wrap the single dict in a list with a single item
which should be equivalent to having the dict at the top-level.

Modify the script to detect such a list and work on the first entry.
2023-12-23 11:08:55 +01:00
Alexander Grund
a55f483fe3 Get SELF from meta/libraries.json
Closes #20
2021-11-18 12:41:04 +01:00