Skip to content

Commit e332cd6

Browse files
committed
zig build system: delete ./build file on success
see #204
1 parent 1c6000d commit e332cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ int main(int argc, char **argv) {
198198
fprintf(stderr, " %s", args.at(i));
199199
}
200200
fprintf(stderr, "\n");
201+
} else {
202+
os_delete_file(buf_create_from_str("./build"));
201203
}
202204
return (term.how == TerminationIdClean) ? term.code : -1;
203205
}

0 commit comments

Comments
 (0)