Skip to content

Commit 754a848

Browse files
committed
Fix generated struct mgos_module_info definition
Used when building with older mongoose os repos
1 parent 965f72c commit 754a848

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

cli/bindata.go

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/manifest_parser/bindata.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/manifest_parser/data/mgos_deps_init.c.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct mgos_lib_info {
2424
#ifndef MGOS_MODULE_INFO_VERSION
2525
struct mgos_module_info {
2626
const char *name;
27-
const char *version;
27+
const char *repo_version;
2828
};
2929
#define MGOS_MODULE_INFO_VERSION 1
3030
#endif

cli/manifest_parser/test_manifests/test_03_weak_dep_used/expected/esp8266/mgos_deps_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct mgos_lib_info {
2727
#ifndef MGOS_MODULE_INFO_VERSION
2828
struct mgos_module_info {
2929
const char *name;
30-
const char *version;
30+
const char *repo_version;
3131
};
3232
#define MGOS_MODULE_INFO_VERSION 1
3333
#endif

cli/manifest_parser/test_manifests/test_05_lib_override/expected/esp8266/mgos_deps_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct mgos_lib_info {
2323
#ifndef MGOS_MODULE_INFO_VERSION
2424
struct mgos_module_info {
2525
const char *name;
26-
const char *version;
26+
const char *repo_version;
2727
};
2828
#define MGOS_MODULE_INFO_VERSION 1
2929
#endif

cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_04_lib_conds_recursive/expected/esp8266/mgos_deps_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct mgos_lib_info {
2525
#ifndef MGOS_MODULE_INFO_VERSION
2626
struct mgos_module_info {
2727
const char *name;
28-
const char *version;
28+
const char *repo_version;
2929
};
3030
#define MGOS_MODULE_INFO_VERSION 1
3131
#endif

cli/manifest_parser/test_manifests/testset_10_lib_name_settings/test_01_mft_name/expected/esp32/mgos_deps_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct mgos_lib_info {
2525
#ifndef MGOS_MODULE_INFO_VERSION
2626
struct mgos_module_info {
2727
const char *name;
28-
const char *version;
28+
const char *repo_version;
2929
};
3030
#define MGOS_MODULE_INFO_VERSION 1
3131
#endif

0 commit comments

Comments
 (0)