Provide --components for plugin-based mitm scripts

Change-Id: Ifa7efa4281e053e48a80351bc8af54c73d5aa3fd
This commit is contained in:
Viktar Donich 2019-04-08 13:03:10 -07:00 committed by Victor Donich
parent bdeca27b67
commit fc299bc8ae
2 changed files with 15 additions and 2 deletions

View File

@ -30,4 +30,10 @@ mitm_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
${mitm_dir}/dev-chrome.sh &
${mitm_dir}/mitm-docker.sh "serve-app-dev.py --plugins ${absolute_plugin_paths} --strip_assets"
bazel build //polygerrit-ui/app:test_components &
${mitm_dir}/mitm-docker.sh \
"serve-app-dev.py \
--plugins ${absolute_plugin_paths} \
--strip_assets \
--components $(pwd)/bazel-bin/polygerrit-ui/app/"

View File

@ -28,4 +28,11 @@ mitm_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
${mitm_dir}/dev-chrome.sh &
${mitm_dir}/mitm-docker.sh -v ${plugin_root}:${plugin_root} "serve-app-dev.py --plugins ${plugin} --strip_assets --plugin_root ${plugin_root}"
bazel build //polygerrit-ui/app:test_components &
${mitm_dir}/mitm-docker.sh -v ${plugin_root}:${plugin_root} \
"serve-app-dev.py \
--plugins ${plugin} \
--strip_assets \
--plugin_root ${plugin_root} \
--components $(pwd)/bazel-bin/polygerrit-ui/app/"