Skip to content

Commit 0cbf1c0

Browse files
committed
Add special case for tribool to get_libname.py
Fixes #271
1 parent e415c67 commit 0cbf1c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/get_libname.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717
else:
1818
sys.stderr.write('Unwrapping list with single entry in meta/libraries.json.\n')
1919
lib_data = lib_data[0]
20-
print(lib_data['key'])
20+
# Special cases where the full library key and name/folder do not match
21+
name_fixups = { 'logic/tribool': 'logic' }
22+
23+
key = lib_data['key']
24+
print(name_fixups.get(key, key))

0 commit comments

Comments
 (0)