no alias
This commit is contained in:
parent
161ca39a89
commit
0f13d6b12d
|
@ -777,8 +777,8 @@ function install_peertube {
|
||||||
echo $'Failed to install local npm version 5.6.0'
|
echo $'Failed to install local npm version 5.6.0'
|
||||||
exit 45465774
|
exit 45465774
|
||||||
fi
|
fi
|
||||||
alias npm-exec='PATH=$(npm bin):$PATH'
|
PATH=$(npm bin):$PATH
|
||||||
npm-exec npm install node@9.5.0
|
npm install node@9.5.0
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Failed to install local nodejs version 9.5.0'
|
echo $'Failed to install local nodejs version 9.5.0'
|
||||||
exit 54875459
|
exit 54875459
|
||||||
|
@ -793,18 +793,18 @@ function install_peertube {
|
||||||
echo $'Failed to install yarn'
|
echo $'Failed to install yarn'
|
||||||
exit 578947946
|
exit 578947946
|
||||||
fi
|
fi
|
||||||
npm-exec yarn add -D webpack --network-concurrency 1
|
yarn add -D webpack --network-concurrency 1
|
||||||
#npm-exec yarn install --non-interactive
|
#yarn install --non-interactive
|
||||||
#if [ ! "$?" = "0" ]; then
|
#if [ ! "$?" = "0" ]; then
|
||||||
# echo $'Failed to run yarn install'
|
# echo $'Failed to run yarn install'
|
||||||
# exit 63754235
|
# exit 63754235
|
||||||
#fi
|
#fi
|
||||||
npm-exec npm install
|
npm install
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Failed to install peertube'
|
echo $'Failed to install peertube'
|
||||||
exit 7835243
|
exit 7835243
|
||||||
fi
|
fi
|
||||||
npm-exec npm run build
|
npm run build
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Failed to build peertube'
|
echo $'Failed to build peertube'
|
||||||
exit 5293593
|
exit 5293593
|
||||||
|
|
Loading…
Reference in New Issue