MyFirstContribution: add walken.c to meson.build

Instruct in the documentation to also add an entry in meson.build for builtin/walken.c, as currently both Meson and Make are supported. Helped-by: Karthik Nayak <karthik.188@gmail.com> Helped-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Lucas Seiki Oshiro committed Jun 2, 2025 at 17:50 UTC b257adb571c0c185c88293eb3f7e2d5f8808b23c
1 file changed +14 -1
Documentation/MyFirstObjectWalk.adoc
+14 -1
@@ -96,10 +96,23 @@ maintaining alphabetical ordering:
96 { "walken", cmd_walken, RUN_SETUP },
97 ----
98
99 -Add it to the `Makefile` near the line for `builtin/worktree.o`:
99 +Add an entry for the new command in the both the Make and Meson build system,
100 +before the entry for `worktree`:
101
102 +- In the `Makefile`:
103 ----
104 +...
105 BUILTIN_OBJS += builtin/walken.o
106 +...
107 +----
108 +
109 +- In the `meson.build` file:
110 +----
111 +builtin_sources = [
112 + ...
113 + 'builtin/walken.c',
114 + ...
115 +]
116 ----
117
118 Build and test out your command, without forgetting to ensure the `DEVELOPER`