Skip to content

Commit

Permalink
Build: enable building apollo-simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
siyangy authored and ycool committed Oct 3, 2018
1 parent 48905e3 commit 8fc9f69
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apollo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ function build() {
python modules/tools/common/kv_db.py put \
"apollo:data:commit_id" "$REVISION"

# if [ -d /apollo-simulator ] && [ -e /apollo-simulator/build.sh ]; then
# cd /apollo-simulator && bash build.sh build
# if [ $? -ne 0 ]; then
# fail 'Build failed!'
# fi
# fi
if [ -d /apollo-simulator ] && [ -e /apollo-simulator/build.sh ]; then
cd /apollo-simulator && bash build.sh build
if [ $? -ne 0 ]; then
fail 'Build failed!'
fi
fi
if [ $? -eq 0 ]; then
success 'Build passed!'
else
Expand Down

0 comments on commit 8fc9f69

Please sign in to comment.