Merge pull request #6 from 4coder-community/fix_project_gen

Fix v2 project generation
This commit is contained in:
Jack Punter 2024-01-29 19:48:17 +00:00 committed by GitHub
commit aa14f6c620
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ prj_generate_project(Arena *scratch, String8 script_path, String8 script_file, S
fprintf(out, "\".*\",\n");
fprintf(out, "};\n");
fprintf(out, "load_paths_base = {\n");
fprintf(out, " { \".\", .relative = true, .recursive = true, },\n");
fprintf(out, " { .path = \".\", .relative = true, .recursive = true, },\n");
fprintf(out, "};\n");
fprintf(out, "load_paths = {\n");
fprintf(out, " .win = load_paths_base,\n");
@ -498,8 +498,8 @@ prj_generate_project(Arena *scratch, String8 script_path, String8 script_file, S
fprintf(out, "};\n");
fprintf(out, "fkey_command = {\n");
fprintf(out, ".F1 = \"run\";\n");
fprintf(out, ".F2 = \"run\";\n");
fprintf(out, ".F1 = \"build\",\n");
fprintf(out, ".F2 = \"run\",\n");
fprintf(out, "};\n");
fclose(out);