nob.h icon indicating copy to clipboard operation
nob.h copied to clipboard

Introduce `nob_touch_file()`

Open mikmart opened this issue 4 months ago • 1 comments

I found this useful while trying to debug #111 with a program like:

#define NOB_IMPLEMENTATION
#define NOB_EXPERIMENTAL_DELETE_OLD
#include "../nob.h"

int main(int arg, char **argv) {
    NOB_GO_REBUILD_URSELF(arg, argv);
    nob_log(NOB_INFO, "Hello, World!");
    nob_touch_file(__FILE__);
    return 0;
}

Maybe it's useful in general?

mikmart avatar Aug 23 '25 11:08 mikmart

I do personally find this useful :+1:

webdevred avatar Sep 12 '25 18:09 webdevred