DocSpace-client/build/install/common/build-frontend.sh
Sergey Kirichenko 69fb52026f
Add feature to run single notify service (#223)
* Modify building docker images

* Add argument to build script

* Modify build images

* Add feature build from oficial dotnet image

* Add feature build from oficial dotnet image

* Rename notify yml file

* Fix conflict

* Fix conflict

* Fix conflict

* Del RID aprument in build scripts

* Cosmetic modify
2021-04-14 15:45:16 +03:00

38 lines
736 B
Bash

#!/bin/bash
SRC_PATH="/AppServer"
while [ "$1" != "" ]; do
case $1 in
-sp | --srcpath )
if [ "$2" != "" ]; then
SRC_PATH=$2
shift
fi
;;
-? | -h | --help )
echo " Usage: bash build-backend.sh [PARAMETER] [[PARAMETER], ...]"
echo " Parameters:"
echo " -sp, --srcpath path to AppServer root directory"
echo " -?, -h, --help this help"
echo " Examples"
echo " bash build-backend.sh -sp /app/AppServer"
exit 0
;;
* )
echo "Unknown parameter $1" 1>&2
exit 1
;;
esac
shift
done
echo "== FRONT-END-BUILD =="
cd ${SRC_PATH}
yarn install
yarn build