Skip to content

Commit

Permalink
Merge pull request #12912 from mozilla/fxa-5101
Browse files Browse the repository at this point in the history
fix(configs): Build shared projects on `yarn start`
  • Loading branch information
vbudhram authored May 27, 2022
2 parents f3004bb + 00198a0 commit 714c52b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _scripts/pm2-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ fi

mkdir -p artifacts

echo "building shared fxa projects..."
if ! yarn workspaces foreach --verbose --include fxa-auth-client --include fxa-react --include fxa-shared run build > artifacts/build-shared.log;
then
echo -e "\n###########################################################\n"
echo "# fxa couldn't build shared projects. see ./artifacts/build-shared.log for details"
echo -e "\n###########################################################\n"
exit 1
fi

echo "${COMMAND} fxa services..."
if yarn workspaces foreach --topological-dev --verbose --exclude fxa-dev-launcher --exclude fxa run "$COMMAND" > artifacts/start.log;
then
Expand Down

0 comments on commit 714c52b

Please sign in to comment.