diff --git a/build/build.sh b/build/build.sh index 17a9183f9e..62194a1be2 100755 --- a/build/build.sh +++ b/build/build.sh @@ -1,12 +1,12 @@ #!/bin/bash -@echo off +echo off echo "##########################################################" echo "######### Start build and deploy #######################" echo "##########################################################" -echo. +echo "" rd="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" echo "Run script directory:" $rd @@ -14,8 +14,22 @@ echo "Run script directory:" $rd dir=$(builtin cd $rd/../; pwd) echo "Root directory:" $dir +pushd $dir + echo "FRONT-END (for start run command 'yarn start' inside the root folder)" -yarn install $dir +yarn install echo "BACK-END" dotnet build $dir/asc.web.slnf /fl1 /flp1:logfile=asc.web.log;verbosity=normal + +echo "install nodejs projects dependencies..." +pushd $dir/common/ASC.Socket.IO/ +yarn install +pushd $dir/common/ASC.SsoAuth/ +yarn install +pushd $dir/common/ASC.WebDav/ +yarn install +pushd $dir/common/ASC.UrlShortener/ +yarn install +pushd $dir/common/ASC.WebPlugins/ +yarn install \ No newline at end of file