Skip to content

Commit 5251add

Browse files
authored
Merge pull request #2338 from dgageot/board/implement-docker-agent-issue-2337-fe7b315f
Improve mise build output to show go build command and resulting binary
2 parents b3e52e9 + f3a4433 commit 5251add

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.mise/scripts/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ case "$OSTYPE" in
1010
msys*|cygwin*) BINARY_NAME="${BINARY_NAME}.exe" ;;
1111
esac
1212

13-
go build -ldflags "$LDFLAGS" -o ./bin/${BINARY_NAME} ./main.go
13+
(
14+
set -x
15+
go build -v -ldflags "$LDFLAGS" -o ./bin/${BINARY_NAME} ./main.go
16+
)
17+
echo "Built ./bin/${BINARY_NAME}"
1418

1519
if [ "${CI:-}" != "true" ]; then
1620
ln -sf "$(pwd)/bin/${BINARY_NAME}" "${HOME}/bin/${BINARY_NAME}" 2>/dev/null || true

0 commit comments

Comments
 (0)