Skip to content

Commit

Permalink
Autogenerate catapult files if they are not already present. (ray-pro…
Browse files Browse the repository at this point in the history
…ject#978)

* Autogenerate catapult files if they are not already present.

* Fix bash syntax.
  • Loading branch information
robertnishihara authored and pcmoritz committed Sep 14, 2017
1 parent d516d94 commit 413140d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/thirdparty/build_ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 413140d

Please sign in to comment.