News for hackers. Stuff that matters.

FeatureIncomple

Re:Show HN: Task – A simple build tool written in Go on Sunday January 20, 2019 @12:46PM (#18954315)
> I often have a lot of intermediate build artifacts/stages

I don't know your use case in depth, but I don't see why Task wouldn't work for you, since it's similar to Make in this regard.

You can have multiple tasks (for each step) and then either set dependencies or have a task that call all other tasks in the right sequence. And, of course, you'd have to enable [this](https://taskfile.org/#/usage?id=prevent-unnecessary-work).

Anyway, seems that Make is already enough for you, since you're used to it's quirks.

Re:Show HN: Task – A simple build tool written in Go on Sunday January 20, 2019 @05:51AM (#18952416)
> I still often use rake, even tho it does make some golang people vomit

LOL.

I love both Go and Ruby. Each of them shines on different scenarios.

Re:Show HN: Task – A simple build tool written in Go on Sunday January 20, 2019 @05:46AM (#18952398)
It's not solely about syntax.

Have you tried using Make on Windows? I know, I also prefer Unix-like systems over Windows (and I barely use Windows these days anymore), but for those that need Windows support, it's a miserable experience trying to use tools that barely work there.

Checksum based (instead of timestamp based) up-to-date resolution is also nice. Etc, etc.

In short, I don't think Task is perfect (far from it), but we desperately need better alternatives to Make.

Re:Show HN: Task – A simple build tool written in Go on Sunday January 20, 2019 @05:27AM (#18952339)
Yeah, a contributing guide would be nice. Thanks for the suggestion.

I'm curious on why Make runs twice faster to you, since in most cases the difference should be negligible (i.e. the Task overhead should be insignificant compared to the time it takes to run the command).

Maybe you're running really lightweight, like `cp`? Otherwise I'd consider it a bug. Could you open an issue, then?

Re:Show HN: Task – A simple build tool written in Go on Saturday January 19, 2019 @06:24PM (#18949881)
Thanks for these words!

Although I don't think this tool is perfect, I created Task exactly due my frustration with Make and the lack of decent alternatives.

Let me know if you any feedback after you try it.