News for hackers. Stuff that matters.
Re:Time for Makefiles to Make a Comeback by jph on Tuesday September 05, 2017 @06:10AM (#15173814)
For a better "make" try "do" (also known as "DJB redo").

It's designed by Dan Bernstein of crypto fame and implemented by Avery Pennarun now at Google.

http://apenwarr.ca/log/?m=201012#14

I will contribute $100 to any Rust leader who wants to start coding "do" in Rust.

Re:Time for Makefiles to Make a Comeback by mitch9 on Tuesday September 05, 2017 @08:05AM (#15174338)
This seems like a prime moment to ask for a review of https://github.com/sagebind/rote
Re:Time for Makefiles to Make a Comeback by jph on Tuesday September 05, 2017 @08:33AM (#15174488)
Rote is a great accomplishment. IMHO it's superior to Make, Rake, Cake, etc. Thank you for writing this!

If you're curious, take a look at Do. It's like all of the above, yet flipped over on their heads. The value of Do is in the design, which is essentially the opposite of Make. Do leverages the composability of items, files, scripts, artifacts, and typical Unix pipes.

I would be very interested in your opinions about Do, and if you want the $100 to jumpstart working on Do in Rust, let me know how to donate to you.

Re:Time for Makefiles to Make a Comeback by zimpenfish on Tuesday September 05, 2017 @09:56AM (#15175170)
+1 for do/redo. Although it can be a bugger to get right for go (because there's no intermediate files) (although I think I've solved that now.)
Re:Time for Makefiles to Make a Comeback by sounds on Tuesday September 05, 2017 @07:19PM (#15179879)
I looked at your profile, but didn't see any clues. Please share?

How do you use redo for go projects?

Re:Time for Makefiles to Make a Comeback by zimpenfish on Wednesday September 06, 2017 @04:50AM (#15182133)
[looks at pending blog posts guiltily]

https://bitbucket.org/rjp/can-x-win/src is a good example - basically, apart from `all.do` containing the targets, I have a `default.do` which looks for a matching `*.od` which has the DEPS and then passes those to `go build`.

Re:Time for Makefiles to Make a Comeback by JdeBP on Wednesday September 06, 2017 @06:16AM (#15182461)