MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getLeancPath

Method getLeancPath

lib/compilers/lean.ts:68–73  ·  view source on GitHub ↗
(compiler: string, execOptions: ExecutionOptionsWithEnv)

Source from the content-addressed store, hash-verified

66 }
67
68 private async getLeancPath(compiler: string, execOptions: ExecutionOptionsWithEnv): Promise<string> {
69 const prefix = await this.getLeanPrefix(compiler, execOptions);
70 if (prefix) return path.join(prefix, 'bin', 'leanc');
71
72 return path.join(path.dirname(compiler), 'leanc');
73 }
74
75 private async doLeanBuildstep(
76 command: string,

Callers 1

runCompilerMethod · 0.95

Calls 1

getLeanPrefixMethod · 0.95

Tested by

no test coverage detected