Fix Makefile. Print info when building binary.

This commit is contained in:
Tomas Kral 2016-08-10 11:19:04 +02:00
parent 575d7e4162
commit a15a8f36ca

View File

@ -10,3 +10,9 @@ go build \
-o kompose \ -o kompose \
-ldflags="-w -X github.com/skippbox/kompose/version.GITCOMMIT=${GITCOMMIT}" \ -ldflags="-w -X github.com/skippbox/kompose/version.GITCOMMIT=${GITCOMMIT}" \
./cli/main ./cli/main
if [ $? -eq 0 ]; then
echo "Build successful. Program saved as ${OUT_FILE}"
else
echo "Build failed."
fi