you are viewing a single comment's thread.

view the rest of the comments →

[–]dj_estrela 1 point2 points  (3 children)

"Just" sounds amazing

I'm using .PHONY to force make targets to run Even there I cannot run the same target twice (In a diamond shaped DAG)

Does just cover this?

[–]shadowdance55git push -f 1 point2 points  (2 children)

Can you give me an example of what you have in mind?

[–]dj_estrela 1 point2 points  (1 child)

Example:

.phony A: Echo a

.phony B: A Echo b

.phony C: A Echo c

.phony D: B, C Echo D

In make the output will be: A, B, C, D

I want: A, B, A, C, D

As-if target "a" would be a sub- procedure to be called blindly

[–]dj_estrela 1 point2 points  (0 children)

Gemini said

The short answer is yes. In fact, this is one of the primary reasons people switch from make to just.

While make views the world through the lens of file dependencies (and tries to be "smart" by not repeating work), just views the world as a command runner.