Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and youtalk committed Nov 12, 2024
1 parent 01356bc commit 290c1e2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docker/scripts/build_and_clean.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/bin/bash

function build_and_clean() {
local ccache_dir=$1
local install_base=$2
local ccache_dir=$1
local install_base=$2

du -sh "$ccache_dir" && ccache -s \
&& colcon build --cmake-args \
" -Wno-dev" \
" --no-warn-unused-cli" \
--merge-install \
--install-base "$install_base" \
--mixin release compile-commands ccache \
&& du -sh "$ccache_dir" && ccache -s \
&& rm -rf /autoware/build /autoware/log
du -sh "$ccache_dir" && ccache -s &&
colcon build --cmake-args \
" -Wno-dev" \
" --no-warn-unused-cli" \
--merge-install \
--install-base "$install_base" \
--mixin release compile-commands ccache &&
du -sh "$ccache_dir" && ccache -s &&
rm -rf /autoware/build /autoware/log
}

build_and_clean "$@"

0 comments on commit 290c1e2

Please sign in to comment.