refactor(meson): add parse.c to build

This commit is contained in:
2026-01-30 01:43:16 +01:00
parent 4186b23e1a
commit 035483f54f
3 changed files with 9 additions and 7 deletions

View File

@@ -35,6 +35,7 @@ void callback_handler(tgbot_s *bot, tgbot_cbquery_s *query) {
}
void sighandler(int signum) {
(void)signum;
fprintf(stdout, "Closing...\n");
run = false;
}

View File

@@ -34,6 +34,6 @@ tgbot_dep = declare_dependency(
# Example
executable(
'example',
'examples/echobot/echobot.c',
'examples/inlinekeyboard/inlinekeyboard.c',
dependencies: tgbot_dep,
)

View File

@@ -1,6 +1,7 @@
sources += files(
'json.c',
'methods.c',
'tgbot.c',
'types.c',
)
sources += files(
'json.c',
'methods.c',
'parse.c',
'tgbot.c',
'types.c',
)