GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — hoist/cli/scripts/build-all.ts at main · echohello-dev/hoist Expand file tree/ Copy pathbuild-all.tsMore file actions 23 lines (19 loc) · 888 Bytes / Copy pathbuild-all.tsFile metadata and controls23 lines (19 loc) · 888 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 import { mkdir } from 'node:fs/promises' const targets = [ { target: 'bun-darwin-arm64', output: 'hoist-darwin-arm64' }, { target: 'bun-darwin-x64', output: 'hoist-darwin-x64' }, { target: 'bun-linux-arm64', output: 'hoist-linux-arm64' }, { target: 'bun-linux-x64', output: 'hoist-linux-x64' }, { target: 'bun-windows-arm64', output: 'hoist-windows-arm64.exe' }, { target: 'bun-windows-x64', output: 'hoist-windows-x64.exe' }, ] as const await mkdir('dist', { recursive: true }) for (const { target, output } of targets) { console.log(`Building ${target}`) const process = Bun.spawn( ['bun', 'build', 'src/index.ts', '--compile', `--outfile=dist/${output}`, `--target=${target}`], { stdout: 'inherit', stderr: 'inherit' }, ) const exitCode = await process.exited if (exitCode !== 0) throw new Error(`${target} build failed with exit code ${exitCode}`) } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |