Просмотр исходного кода

REXM: Update `Makefile.Web` before trying to rebuild new example for web

pull/5459/head
Ray 3 недель назад
Родитель
Сommit
f805e6cae8
1 измененных файлов: 12 добавлений и 11 удалений
  1. +12
    -11
      tools/rexm/rexm.c

+ 12
- 11
tools/rexm/rexm.c Просмотреть файл

@ -1226,6 +1226,18 @@ int main(int argc, char *argv[])
// Actions to fix/review anything possible from validation results
//------------------------------------------------------------------------------------------------
// Update files: Makefile, Makefile.Web, README.md, examples.js
// Solves: VALID_NOT_IN_MAKEFILE, VALID_NOT_IN_MAKEFILE_WEB, VALID_NOT_IN_README, VALID_NOT_IN_JS
// WARNING: Makefile.Web needs to be updated before trying to rebuild web example!
UpdateRequiredFiles();
for (int i = 0; i < exCollectionCount; i++)
{
exCollection[i].status &= ~VALID_NOT_IN_MAKEFILE;
exCollection[i].status &= ~VALID_NOT_IN_MAKEFILE_WEB;
exCollection[i].status &= ~VALID_NOT_IN_README;
exCollection[i].status &= ~VALID_NOT_IN_JS;
}
// Check examples "status" information
for (int i = 0; i < exCollectionCount; i++)
{
@ -1325,17 +1337,6 @@ int main(int argc, char *argv[])
}
}
}
// Update files: Makefile, Makefile.Web, README.md, examples.js
// Solves: VALID_NOT_IN_MAKEFILE, VALID_NOT_IN_MAKEFILE_WEB, VALID_NOT_IN_README, VALID_NOT_IN_JS
UpdateRequiredFiles();
for (int i = 0; i < exCollectionCount; i++)
{
exCollection[i].status &= ~VALID_NOT_IN_MAKEFILE;
exCollection[i].status &= ~VALID_NOT_IN_MAKEFILE_WEB;
exCollection[i].status &= ~VALID_NOT_IN_README;
exCollection[i].status &= ~VALID_NOT_IN_JS;
}
//------------------------------------------------------------------------------------------------
}

Загрузка…
Отмена
Сохранить