From a15a8f36ca36d596d93bcac0fef5b90f5e15622b Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Wed, 10 Aug 2016 11:19:04 +0200 Subject: [PATCH] Fix Makefile. Print info when building binary. --- script/binary | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/binary b/script/binary index 74f31cef..017b8915 100755 --- a/script/binary +++ b/script/binary @@ -10,3 +10,9 @@ go build \ -o kompose \ -ldflags="-w -X github.com/skippbox/kompose/version.GITCOMMIT=${GITCOMMIT}" \ ./cli/main + +if [ $? -eq 0 ]; then + echo "Build successful. Program saved as ${OUT_FILE}" +else + echo "Build failed." +fi