MCPcopy Create free account
hub / github.com/anomalyco/opencode / validate

Function validate

script/beta.ts:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97async function validate() {
98 if (!(await typecheck())) return false
99 if (!(await build())) return false
100 return true
101}
102
103async function commitSmokeChanges() {
104 const out = await $`git status --porcelain`.text()

Callers 2

commitSmokeChangesFunction · 0.70
smokeFunction · 0.70

Calls 2

typecheckFunction · 0.85
buildFunction · 0.70

Tested by

no test coverage detected