Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 83f18ba

Browse files
authored
chore: reformat for 80 columns; fix spacing (#101)
* chore: reformat for 80 columns; fix spacing shell style guide specifies 80 columns since `echo` adds spaces between its arguments the line that was already split resulted in an extra space: `Verify installed headers created only expected directories.` * fix a line I missed.
1 parent 2560625 commit 83f18ba

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

ci/kokoro/docker/build-in-docker-cmake.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ if [[ "${SCAN_BUILD}" == "yes" ]]; then
4444
fi
4545

4646
echo
47-
echo "${COLOR_YELLOW}Starting docker build $(date) with ${NCPU} cores${COLOR_RESET}"
47+
echo "${COLOR_YELLOW}Starting docker build $(date) with ${NCPU}" \
48+
"cores${COLOR_RESET}"
4849
echo
4950

5051
echo "${COLOR_YELLOW}Started CMake config at: $(date)${COLOR_RESET}"
@@ -166,8 +167,8 @@ if [[ "${TEST_INSTALL:-}" = "yes" ]]; then
166167
# Also verify that the install directory does not get unexpected files or
167168
# directories installed.
168169
echo
169-
echo "${COLOR_YELLOW}Verify installed headers created only" \
170-
" expected directories.${COLOR_RESET}"
170+
echo "${COLOR_YELLOW}Verify installed headers created only expected" \
171+
"directories.${COLOR_RESET}"
171172
if comm -23 \
172173
<(find /var/tmp/staging/include/google/cloud -type d | sort) \
173174
<(echo /var/tmp/staging/include/google/cloud ; \
@@ -176,7 +177,8 @@ if [[ "${TEST_INSTALL:-}" = "yes" ]]; then
176177
echo /var/tmp/staging/include/google/cloud/internal ; \
177178
echo /var/tmp/staging/include/google/cloud/testing_util ; \
178179
/bin/true) | grep -q /var/tmp; then
179-
echo "${COLOR_YELLOW}Installed directories do not match expectation.${COLOR_RESET}"
180+
echo "${COLOR_YELLOW}Installed directories do not match" \
181+
"expectation.${COLOR_RESET}"
180182
echo "${COLOR_RED}Found:"
181183
find /var/tmp/staging/include/google/cloud -type d | sort
182184
echo "${COLOR_RESET}"
@@ -193,6 +195,7 @@ fi
193195
# If document generation is enabled, run it now.
194196
if [[ "${GENERATE_DOCS}" == "yes" ]]; then
195197
echo
196-
echo "${COLOR_YELLOW}Generating Doxygen documentation at: $(date).${COLOR_RESET}"
198+
echo "${COLOR_YELLOW}Generating Doxygen documentation at:" \
199+
"$(date).${COLOR_RESET}"
197200
cmake --build "${BINARY_DIR}" --target doxygen-docs
198201
fi

0 commit comments

Comments
 (0)