Skip to content

Commit

Permalink
Build.sh - print success message only on success build (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
talarian1 authored Jan 16, 2022
1 parent c10d0fe commit f4cc315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -eu

if [ $# -eq 0 ]
then
Expand All @@ -8,4 +9,4 @@ if [ $# -eq 0 ]
fi

CGO_ENABLED=0 go build -o $exe_name -ldflags '-w -extldflags "-static"' main.go
echo "The $exe_name executable was successfully created."
echo "The $exe_name executable was successfully created."

0 comments on commit f4cc315

Please sign in to comment.