mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 19:56:44 +08:00
Autogenerate catapult files if they are not already present. (#978)
* Autogenerate catapult files if they are not already present. * Fix bash syntax.
This commit is contained in:
committed by
Philipp Moritz
parent
d516d9440e
commit
413140df38
Vendored
+3
@@ -37,7 +37,10 @@ if [ ! -d $CATAPULT_HOME ]; then
|
||||
pushd $CATAPULT_HOME
|
||||
git checkout $CATAPULT_COMMIT
|
||||
popd
|
||||
fi
|
||||
|
||||
# If the autogenerated catapult files aren't present, then generate them.
|
||||
if [ ! -f $CATAPULT_FILES/index.html ]; then
|
||||
python2 $VULCANIZE_BIN --config chrome --output $CATAPULT_FILES/trace_viewer_full.html
|
||||
cp $CATAPULT_HOME/tracing/bin/index.html $CATAPULT_FILES/index.html
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user