Comment Comment by badjeans I found Nim's gorge command really useful. It runs a command at compile time and stores the output in a variable, so you can simply do things like: const compile_version = gorge "git describe --tags --always --dirty" const compile_time = gorge "date --rfc-3339=seconds" parent badjeans 5 years ago