mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-22 15:19:18 -05:00
REXM: Update Makefile.Web before trying to rebuild new example for web
This commit is contained in:
@ -1226,6 +1226,18 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Actions to fix/review anything possible from validation results
|
// 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
|
// Check examples "status" information
|
||||||
for (int i = 0; i < exCollectionCount; i++)
|
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;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user