mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 19:38:15 +00:00
Update rexm.c
This commit is contained in:
@@ -684,16 +684,23 @@ int main(int argc, char *argv[])
|
|||||||
FileCopy(TextFormat("%s/%s/%s.js", exBasePath, exRecategory, exRename),
|
FileCopy(TextFormat("%s/%s/%s.js", exBasePath, exRecategory, exRename),
|
||||||
TextFormat("%s/%s/%s.js", exWebPath, exRecategory, exRename));
|
TextFormat("%s/%s/%s.js", exWebPath, exRecategory, exRename));
|
||||||
|
|
||||||
|
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
|
||||||
|
ChangeDirectory("C:\\GitHub\\raylib");
|
||||||
|
system("git --version");
|
||||||
|
system("git status");
|
||||||
|
|
||||||
|
/*
|
||||||
// Create commit with changes (local)
|
// Create commit with changes (local)
|
||||||
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
|
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
|
||||||
ChangeDirectory("C:/GitHub/raylib");
|
ChangeDirectory("C:/GitHub/raylib");
|
||||||
int result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
|
int result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
|
||||||
if (result != 0) LOG("WARNING: Error committing changes\n");
|
if (result != 0) LOG("WARNING: Error committing changes\n");
|
||||||
//result = system("git push"); // Push to the remote (origin, current branch)
|
//result = system("git push"); // Push to the remote (origin, current branch)
|
||||||
//if (result != 0) LOG("WARNING: Error pushing changes\n");
|
//if (result != 0) LOG("WARNING: Error pushing changes\n");
|
||||||
ChangeDirectory("C:/GitHub/raylib.com");
|
ChangeDirectory("C:/GitHub/raylib.com");
|
||||||
result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
|
result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
|
||||||
if (result != 0) LOG("WARNING: Error committing changes\n");
|
if (result != 0) LOG("WARNING: Error committing changes\n");
|
||||||
|
*/
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
case OP_REMOVE: // Remove
|
case OP_REMOVE: // Remove
|
||||||
|
Reference in New Issue
Block a user