MCPcopy Create free account
hub / github.com/FastLED/FastLED / compile_examples

Function compile_examples

mcp_server.py:1423–1440  ·  view source on GitHub ↗

Compile FastLED examples.

(
    arguments: dict[str, Any], project_root: Path
)

Source from the content-addressed store, hash-verified

1421
1422
1423async def compile_examples(
1424 arguments: dict[str, Any], project_root: Path
1425) -> CallToolResult:
1426 """Compile FastLED examples."""
1427 platform = arguments.get("platform", "uno")
1428 examples = arguments.get("examples", ["Blink"])
1429 interactive = arguments.get("interactive", False)
1430
1431 cmd = ["uv", "run", "-m", "ci.ci-compile", platform]
1432
1433 if examples:
1434 cmd.extend(["--examples"] + examples)
1435
1436 if not interactive:
1437 cmd.append("--no-interactive")
1438
1439 result = await run_command(cmd, project_root)
1440 return CallToolResult(content=[TextContent(type="text", text=result)])
1441
1442
1443async def code_fingerprint(

Callers 1

call_toolFunction · 0.70

Calls 3

run_commandFunction · 0.70
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected