14 lines
395 B
TypeScript
14 lines
395 B
TypeScript
import { isCoreBuilt } from '../../src/index'
|
|
|
|
/**
|
|
* The proofs need the built module. On a host without Docker they are skipped with a
|
|
* visible notice instead of failing `pnpm check`; CI always builds the module first.
|
|
*/
|
|
export const coreBuilt = isCoreBuilt()
|
|
|
|
if (!coreBuilt) {
|
|
console.warn(
|
|
'[core-wasm] pkg/ missing: run `pnpm wasm:build` (Docker builder); proofs skipped',
|
|
)
|
|
}
|