1
0
ohmyform/scripts/heroku/prebuild.sh

19 lines
420 B
Bash
Raw Permalink Normal View History

2020-06-03 04:50:07 -07:00
2020-06-03 05:23:23 -07:00
echo "Fetch Submodules"
git clone --depth 1 https://github.com/ohmyform/ui ui
git clone --depth 1 https://github.com/ohmyform/api api
2020-06-03 05:23:23 -07:00
2020-06-09 08:19:25 -07:00
echo "UI ref is"
git --git-dir=ui/.git rev-parse HEAD
echo "API ref is"
git --git-dir=api/.git rev-parse HEAD
2020-06-03 04:50:07 -07:00
echo "Install UI"
2020-06-03 05:02:39 -07:00
yarn --cwd ui install --frozen-lockfile
2020-06-03 04:50:07 -07:00
echo "Install API"
2020-06-03 05:02:39 -07:00
yarn --cwd api install --frozen-lockfile
2020-06-03 10:27:01 -07:00
yarn global add @nestjs/cli
2020-06-03 04:50:07 -07:00
echo "FINISHED prebuild"