drogue-iot / drogue-cloud

Cloud Native IoT
https://drogue.io
Apache License 2.0
113 stars 30 forks source link

Investigate replacing `make` with `just` #300

Closed ctron closed 1 year ago

ctron commented 2 years ago

We don't use any the fancy rule based processing from make anyway. We just orchestrate a bunch of tasks and need dependencies of those sometimes.

On the other hand, make has some weird behaviors that get in your way.

So, check out if just can do the same, just simpler and better to maintain.

lulf commented 2 years ago

I worry that using a special build tool like just also raises the bar for contributors who want to develop drogue cloud who now needs to install another tool and learn it in order to contribute.

ctron commented 2 years ago

Yea, that is true. It is as easy as cargo install just though.

While make has to be installed too. I guess more people have make than just.

On the other side, makefile are error prone beasts. And it feels like we aren't using any real functionality from make anyway.

So yea, I don't know.

lulf commented 2 years ago

IMO it's also about familiarity with the syntax (though I don't know just so can't say how different it is)

ctron commented 1 year ago

I played a bit with just, it doesn't solve all the issues, but brings some more. And yes, people are not that familiar with it.

So I would abandon the idea of using just. But I would be open for suggestions.