Pārlūkot izejas kodu

REXM: Reviewed example rename on `examples.js`

pull/5122/head
Ray pirms 1 mēnesi
vecāks
revīzija
60b46062c6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      tools/rexm/rexm.c

+ 2
- 1
tools/rexm/rexm.c Parādīt failu

@ -591,7 +591,8 @@ int main(int argc, char *argv[])
FileTextReplace(TextFormat("%s/Makefile", exBasePath), exName, exRename); FileTextReplace(TextFormat("%s/Makefile", exBasePath), exName, exRename);
FileTextReplace(TextFormat("%s/Makefile.Web", exBasePath), exName, exRename); FileTextReplace(TextFormat("%s/Makefile.Web", exBasePath), exName, exRename);
FileTextReplace(TextFormat("%s/README.md", exBasePath), exName, exRename); FileTextReplace(TextFormat("%s/README.md", exBasePath), exName, exRename);
FileTextReplace(TextFormat("%s/../common/examples.js", exWebPath), exName, exRename);
FileTextReplace(TextFormat("%s/../common/examples.js", exWebPath),
exName + strlen(exCategory) + 1, exRename + strlen(exRecategory) + 1); // Skip category
// Edit: Rename example project and solution // Edit: Rename example project and solution
rename(TextFormat("%s/../projects/VS2022/examples/%s.vcxproj", exBasePath, exName), rename(TextFormat("%s/../projects/VS2022/examples/%s.vcxproj", exBasePath, exName),

Notiek ielāde…
Atcelt
Saglabāt