seveibar/pedometer
This hardware setup integrates a Type-C connector, battery, display, and RF antenna connected through a microcontroller, USB interface, charging and fuel gauge ICs, along with associated passive components, enabling power management, data communication, and signal processing.
- Version
- 0.4.4
- License
- unset
- Stars
- 1
scripts/build.mjs
import {spawnSync} from 'node:child_process'
const run=(script,args=[])=>{
const p=spawnSync(script.endsWith('cli.mjs')?'bun':process.execPath,[script,...args],{stdio:'inherit'})
if(p.status!==0)process.exit(p.status||1)
}
run('scripts/clear-routing-cache.mjs')
run('node_modules/tscircuit/cli.mjs',['build','index.circuit.tsx',...process.argv.slice(2)])
run('scripts/check-design.mjs')
// Raw DRC is authoritative. No span edits, error filtering or finalizer.
run('scripts/validate.mjs')
run('scripts/render-views.mjs')
run('scripts/export-review.mjs')