MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / add_module

Function add_module

Buildscripts/release-sdk.py:97–101  ·  view source on GitHub ↗
(target_path, module_name)

Source from the content-addressed store, hash-verified

95 write_module_cmakelists(os.path.join(target_path, f"Drivers/{driver_name}/CMakeLists.txt"), cmakelists_content)
96
97def add_module(target_path, module_name):
98 mappings = get_module_mappings(module_name)
99 map_copy(mappings, target_path)
100 cmakelists_content = create_module_cmakelists(module_name)
101 write_module_cmakelists(os.path.join(target_path, f"Modules/{module_name}/CMakeLists.txt"), cmakelists_content)
102
103def main():
104 if len(sys.argv) < 2:

Callers 1

mainFunction · 0.85

Calls 5

get_module_mappingsFunction · 0.85
map_copyFunction · 0.85
create_module_cmakelistsFunction · 0.85
write_module_cmakelistsFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected