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

Function build

script/beta.ts:85–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85async function build() {
86 console.log(" Running final build smoke check...")
87
88 try {
89 await $`./script/build.ts --single`.cwd("packages/opencode")
90 return true
91 } catch (err) {
92 console.log(`Build failed: ${err}`)
93 return false
94 }
95}
96
97async function validate() {
98 if (!(await typecheck())) return false

Callers 1

validateFunction · 0.70

Calls 2

cwdMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected