Re: pullrequest feat

2025-07-03 Thread Bahman Movaqar
On Wed, 2 Jul 2025 at 20:11, Tim Murphy wrote: > On Wed, 2 Jul 2025 at 22:40, Bahman Movaqar wrote: > >> Somehow in the same vein is the work I did in bmakelib: >> https://github.com/bahmanm/bmakelib/blob/main/doc/logged.md >> > That library is impressive. > Thanks. So much PROD-grade pain have

Re: pullrequest feat

2025-07-02 Thread Tim Murphy
On Wed, 2 Jul 2025 at 22:40, Bahman Movaqar wrote: > Somehow in the same vein is the work I did in bmakelib: > https://github.com/bahmanm/bmakelib/blob/main/doc/logged.md > That library is impressive. I wondered if GNU make could benefit from a function that fetches the current time - this migh

Re: pullrequest feat

2025-07-02 Thread Bahman Movaqar
Somehow in the same vein is the work I did in bmakelib: https://github.com/bahmanm/bmakelib/blob/main/doc/logged.md On another note, I think for such a feature to be added to Make it should be a bit more abstract. A couple of ideas that crossed my mind: - The timestamp format should either be conf

Re: pullrequest feat

2025-07-02 Thread Tim Murphy
Hi :-) That's a cool idea. Can you send us the diff or a link to the diff? Regards, Timothy Murphy On Wed, 2 Jul 2025 at 14:00, xf liao wrote: > Hello everyone, my name is Nico, and I’m from China. I’m a senior IT > systems architect, and I use Make in my daily work to build IT environments.

pullrequest feat

2025-07-02 Thread xf liao
Hello everyone, my name is Nico, and I’m from China. I’m a senior IT systems architect, and I use Make in my daily work to build IT environments. In my scripts, I have a lot of code like the following to print logs: define loginfo = @echo "$$(date -d today +'%Y-%m-%d %T') info: [$(@)]-$(1)" endef