Granola-Team / mina-block-explorer

Web application for the Mina blockchain
Apache License 2.0
6 stars 6 forks source link

Adjust Justfile just so it is just so #812

Closed robinbb closed 2 months ago

robinbb commented 2 months ago

This commit reorders the Justfile recipes so that they appear in a topologically sorted order. That is, if the recipes are trees of dependencies, then the leaves must appear first, and any non-leaf recipe must appear before the non-leaf recipes that use it. This helps the developer to test the recipes in an order that is efficient, and helps the user understand which recipes are likely used by which other recipes (earlier ones are used by later ones, only).

This commit also removes the 'build' recipe, which, interestingly, is not used by any other recipes or in production.

The unnecessary 'build' is also removed from the 'lint' recipe (invoked by 'test' in CI), hopefully making it faster.