mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
9 lines
275 B
JavaScript
9 lines
275 B
JavaScript
import { execSync } from 'child_process'
|
|
import path from 'path'
|
|
|
|
const __dirname = import.meta.dirname
|
|
const rootDir = path.join(__dirname, '..')
|
|
|
|
execSync('cargo build --config opt-level=0', { cwd: rootDir, stdio: 'inherit' })
|
|
execSync('turbo build', { stdio: 'inherit' })
|