mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
blindly copying deltachat-node to core repository
This commit is contained in:
17
node/scripts/rebuild-core.js
Normal file
17
node/scripts/rebuild-core.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const path = require('path')
|
||||
const { spawn } = require('./common')
|
||||
const opts = {
|
||||
cwd: path.resolve(__dirname, '../deltachat-core-rust'),
|
||||
stdio: 'inherit'
|
||||
}
|
||||
|
||||
const buildArgs = [
|
||||
'build',
|
||||
'--release',
|
||||
'--features',
|
||||
'vendored',
|
||||
'-p',
|
||||
'deltachat_ffi'
|
||||
]
|
||||
|
||||
spawn('cargo', buildArgs, opts)
|
||||
Reference in New Issue
Block a user