Skip to content

Commit 9940acf

Browse files
committed
Standardize build summary
1 parent b108b2d commit 9940acf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,12 @@ $(ROM): arm9 arm7
146146
-7 build/arm7.elf -9 build/arm9.elf \
147147
-b $(GAME_ICON) "$(GAME_FULL_TITLE)" \
148148
$(NDSTOOL_ARGS)
149+
@branch=$$(git symbolic-ref --short -q HEAD || echo detached); \
150+
printf '%s\n' \
151+
'=== Build summary ===' \
152+
' ROM $(ROM)' \
153+
' BANNER $(GAME_TITLE)' \
154+
' $(GAME_SUBTITLE1)' \
155+
' $(GAME_SUBTITLE2)' \
156+
' BUILD kind=$(DSIWIFI_BUILD_KIND)'; \
157+
printf ' SOURCE commit=$(DSIWIFI_COMMIT) branch=%s\n' "$$branch"

0 commit comments

Comments
 (0)