mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-23 08:46:28 +00:00
16 lines
375 B
JavaScript
16 lines
375 B
JavaScript
|
import { exec } from 'pkg'
|
||
|
|
||
|
const targets = [
|
||
|
'node18-macos-arm64',
|
||
|
'node18-macos-x64',
|
||
|
'node18-linux-arm64',
|
||
|
'node18-linux-x64',
|
||
|
'node18-win-arm64',
|
||
|
'node18-win-x64',
|
||
|
]
|
||
|
|
||
|
for (const target of targets) {
|
||
|
console.log(`🚀 Building ${target}`)
|
||
|
await exec(['./dist/index.cjs', '--target', target, '--output', `./bin/${target.replace('node18', 'cryptgeon')}`])
|
||
|
}
|