aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-12-10 10:45:59 -0500
committerRuss Cox <rsc@golang.org>2014-12-13 00:03:23 +0000
commitd160d1bc878566ad62a5426956b23b95403513c7 (patch)
treef05cc7232e248a7bcf3832e27c57e9ebc046e0dd /src/make.bash
parentb7a2b1e980f3f8471f87cd9108d4461b88e39f76 (diff)
downloadgo-d160d1bc878566ad62a5426956b23b95403513c7.tar.gz
go-d160d1bc878566ad62a5426956b23b95403513c7.zip
build: change all.bash output to be more markdown-friendly
People keep pasting all.bash output into GitHub bugs, which turns the # lines into <h1> headlines. Add some more #s so that the bug reports are more readable. Not ideal but seems like the best of a few bad options. Change-Id: I4c69930ec304b2d504d7cd66221281a8577b87ae Reviewed-on: https://go-review.googlesource.com/1286 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/make.bash b/src/make.bash
index fbc6f5d89d..a90937a77e 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -110,7 +110,7 @@ rm -f ./runtime/runtime_defs.go
# Finally! Run the build.
-echo '# Building C bootstrap tool.'
+echo '##### Building C bootstrap tool.'
echo cmd/dist
export GOROOT="$(cd .. && pwd)"
GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}"
@@ -149,7 +149,7 @@ if [ "$1" = "--dist-tool" ]; then
exit 0
fi
-echo "# Building compilers and Go bootstrap tool for host, $GOHOSTOS/$GOHOSTARCH."
+echo "##### Building compilers and Go bootstrap tool for host, $GOHOSTOS/$GOHOSTARCH."
buildall="-a"
if [ "$1" = "--no-clean" ]; then
buildall=""
@@ -162,7 +162,7 @@ mv cmd/dist/dist "$GOTOOLDIR"/dist
echo
if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
- echo "# Building packages and commands for host, $GOHOSTOS/$GOHOSTARCH."
+ echo "##### Building packages and commands for host, $GOHOSTOS/$GOHOSTARCH."
# CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however,
# use the host compiler, CC, from `cmd/dist/dist env` instead.
CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
@@ -170,7 +170,7 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
echo
fi
-echo "# Building packages and commands for $GOOS/$GOARCH."
+echo "##### Building packages and commands for $GOOS/$GOARCH."
CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
echo