mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
19 lines
349 B
JavaScript
19 lines
349 B
JavaScript
import path from 'path'
|
|
import { spawn } from './common.js'
|
|
import * as url from 'url'
|
|
const opts = {
|
|
cwd: path.resolve(url.fileURLToPath(new URL('.', import.meta.url)), '../..'),
|
|
stdio: 'inherit'
|
|
}
|
|
|
|
const buildArgs = [
|
|
'build',
|
|
'--release',
|
|
'--features',
|
|
'vendored,jsonrpc',
|
|
'-p',
|
|
'deltachat_ffi'
|
|
]
|
|
|
|
spawn('cargo', buildArgs, opts)
|