Oddbean new post about | logout
 @61f067c1 I expected you to reply since this is related to Cargo 🤍

Did I get this right that I would run the command in the `publish.rs` file to generate these static files? How would Cargo know that these files are generated by `publish.rs`? 
 @5150cec1 We haven't finished flushing out the design.  One idea would be to just capture everything in `OUT_DIR`. 
 @61f067c1 But one could let `publish.rs` sleep while for example moving a precompiled binary into that directory :/

I don't think that it would be any better than the `publish` routine in my justfile:

https://codeberg.org/mo8it/oxitraffic/src/commit/f0e8988bd68b93d430b158a21e6a01a0b9c16457/justfile#L23-L33

Am I missing something?