ui/scripts/bootstrap

16 lines
236 B
Bash
Executable File

#!/bin/bash
set -e
# cd to app root
CWD=$(dirname $0)
if [[ `basename $(pwd)` = 'scripts' ]]; then
cd ../
else
cd `dirname $CWD`
fi
yarn --pure-lockfile --non-interactive install
git submodule init
git submodule update
git status