In the json file we can add diferent subfolders to use all of that
For example if we have a varaible for each subfolder of:
src/components
src/utils
src/helpers
And in the make file we have a varaible for each one:
COMPONENTS_SRC =
UTILS_SRC =
HELPERS_SRC =
In the json we would be able to add:
{
"src": {
"components": {
"folder": "components",
"variable": "COMPONENTS_SRC\t=",
"path": "\t$(SRC_DIR)/components/"
},
"utils": {
"folder": "utils",
"variable": "UTILS_SRC\t=",
"path": "\t$(SRC_DIR)/utils/"
},
"helpers": {
"folder": "helpers",
"variable": "HELPERS_SRC\t=",
"path": "\t$(SRC_DIR)/helpers/"
},
"lib": "...",
"tests": "...",
}
In the json file we can add diferent subfolders to use all of that
For example if we have a varaible for each subfolder of:
And in the make file we have a varaible for each one:
In the json we would be able to add:
{ "src": { "components": { "folder": "components", "variable": "COMPONENTS_SRC\t=", "path": "\t$(SRC_DIR)/components/" }, "utils": { "folder": "utils", "variable": "UTILS_SRC\t=", "path": "\t$(SRC_DIR)/utils/" }, "helpers": { "folder": "helpers", "variable": "HELPERS_SRC\t=", "path": "\t$(SRC_DIR)/helpers/" }, "lib": "...", "tests": "...", }