// Compile the production network driver against SDK spies; no firmware logic is copied. const fs = require('node:fs'), path = require('node:path'); const source = fs.readFileSync(path.join(__dirname, '../main/network.c'), 'utf8'); const harness = fs.readFileSync(path.join(__dirname, 'network-reconnect-host.c'), 'utf8'); process.stdout.write(harness.replace('/* PRODUCTION_SOURCE */', source.replace(/^#include[^\n]*$/gm, '')));