1
0
ohmyform/scripts/heroku/prebuild.sh
2020-06-09 17:19:25 +02:00

19 lines
420 B
Bash
Executable File

echo "Fetch Submodules"
git clone --depth 1 https://github.com/ohmyform/ui ui
git clone --depth 1 https://github.com/ohmyform/api api
echo "UI ref is"
git --git-dir=ui/.git rev-parse HEAD
echo "API ref is"
git --git-dir=api/.git rev-parse HEAD
echo "Install UI"
yarn --cwd ui install --frozen-lockfile
echo "Install API"
yarn --cwd api install --frozen-lockfile
yarn global add @nestjs/cli
echo "FINISHED prebuild"