Skip to content

Commit

Permalink
nob_configured -> nob_stage2
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Jun 10, 2024
1 parent 3ef7b49 commit b079e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nob.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ int main(int argc, char **argv)
if (!nob_write_entire_file("build/config_logger.c", content.items, content.count)) return 1;

Nob_Cmd cmd = {0};
const char *configured_binary = "build/nob.configured";
nob_cmd_append(&cmd, NOB_REBUILD_URSELF(configured_binary, "./src_build/nob_configured.c"));
const char *stage2_binary = "build/nob_stage2";
nob_cmd_append(&cmd, NOB_REBUILD_URSELF(stage2_binary, "./src_build/nob_stage2.c"));
if (!nob_cmd_run_sync(cmd)) return 1;

cmd.count = 0;
nob_cmd_append(&cmd, configured_binary);
nob_cmd_append(&cmd, stage2_binary);
nob_da_append_many(&cmd, argv, argc);
if (!nob_cmd_run_sync(cmd)) return 1;

Expand Down
File renamed without changes.

0 comments on commit b079e10

Please sign in to comment.