mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
build(bridge/nodejs): avoid installing dependencies each time we build
This commit is contained in:
parent
07e253f663
commit
426c816ca4
@ -137,14 +137,6 @@ BUILD_TARGETS.set('tcp-server', {
|
||||
* Build for binaries not requiring a Python environment
|
||||
*/
|
||||
try {
|
||||
const currentWorkingDirectory = process.cwd()
|
||||
process.chdir(NODEJS_BRIDGE_ROOT_PATH)
|
||||
await command('npm install', {
|
||||
shell: true,
|
||||
stdio: 'inherit'
|
||||
})
|
||||
|
||||
process.chdir(currentWorkingDirectory)
|
||||
const distBinPath = path.join(NODEJS_BRIDGE_DIST_PATH, 'bin')
|
||||
const distMainFilePath = path.join(
|
||||
distBinPath,
|
||||
|
Loading…
Reference in New Issue
Block a user