1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:37:16 +00:00

Add support and priority for nested frontends in tfw.sh

This commit is contained in:
Kristóf Tóth 2018-03-31 19:09:46 +02:00
parent be3146533f
commit 9f444c5502

View File

@ -65,7 +65,13 @@ build_and_run_test()
run_frontend()
{
cd $FRONTEND_PATH
FRONTEND_IN_TEST="${TEST_PATH}/solvable/src/frontend"
if [ -d "$FRONTEND_IN_TEST" ]
then
cd $FRONTEND_IN_TEST
else
cd $FRONTEND_PATH
fi
yarn start
}