mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Only install production dependencies from build scripts (#424)
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
b061c116da
commit
78fc028ae0
@ -48,8 +48,8 @@ fi
|
|||||||
|
|
||||||
function install {
|
function install {
|
||||||
rm -rf node_modules bower_components
|
rm -rf node_modules bower_components
|
||||||
npm install --build-from-source
|
npm install --production --build-from-source
|
||||||
bower install
|
bower install --production
|
||||||
}
|
}
|
||||||
|
|
||||||
function package {
|
function package {
|
||||||
|
@ -73,8 +73,8 @@ function install {
|
|||||||
export npm_config_runtime=electron
|
export npm_config_runtime=electron
|
||||||
|
|
||||||
rm -rf node_modules bower_components
|
rm -rf node_modules bower_components
|
||||||
npm install --build-from-source
|
npm install --production --build-from-source
|
||||||
bower install
|
bower install --production
|
||||||
}
|
}
|
||||||
|
|
||||||
function package_x86 {
|
function package_x86 {
|
||||||
|
@ -156,8 +156,8 @@ set HOME=%homedrive%%homepath%\.electron-gyp
|
|||||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
|
|
||||||
call rimraf node_modules bower_components
|
call rimraf node_modules bower_components
|
||||||
call npm install --build-from-source
|
call npm install --production --build-from-source
|
||||||
call bower install
|
call bower install --production
|
||||||
|
|
||||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
:: Package application
|
:: Package application
|
||||||
|
Loading…
x
Reference in New Issue
Block a user