Skip to content

Commit 5f130b4

Browse files
authored
Merge pull request sorintlab#595 from karuppiah7890/show-build-progress
Show verbal progress in the build script
2 parents 6001857 + 2611da1 commit 5f130b4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

build

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,20 @@ if [ -w ${go_root_dir}/pkg ]; then
4242
fi
4343

4444
for cmd in sentinel proxy; do
45+
echo "Building stolon-${cmd} ..."
4546
CGO_ENABLED=0 go build -installsuffix cgo -ldflags "$LD_FLAGS" -o ${BINDIR}/stolon-${cmd} ${REPO_PATH}/cmd/${cmd}
47+
echo "Done building stolon-${cmd}"
4648
done
49+
50+
echo "Building stolonctl ..."
4751
CGO_ENABLED=0 go build -installsuffix cgo -ldflags "$LD_FLAGS" -o ${BINDIR}/stolonctl ${REPO_PATH}/cmd/stolonctl
52+
echo "Done building stolonctl"
4853

49-
go build -ldflags "$LD_FLAGS" -o ${BINDIR}/stolon-keeper ${REPO_PATH}/cmd/keeper
54+
echo "Building stolon-keeper ..."
55+
go build -ldflags "$LD_FLAGS" -o ${BINDIR}/stolon-keeper ${REPO_PATH}/cmd/keeper
56+
echo "Done building stolon-keeper"
5057

58+
echo "Copying binaries for docker images ..."
5159
# Copy binaries to Dockerfile image directories
5260
declare -a DOCKERFILE_PATHS
5361
DOCKERFILE_PATHS=(${BASEDIR}/examples/kubernetes/image/docker)
@@ -59,3 +67,4 @@ do
5967
cp ${BINDIR}/${cmd} $path/bin/
6068
done
6169
done
70+
echo "Done!"

0 commit comments

Comments
 (0)