My friends.
End your suffering.
Tryout just today:
Make your own recipes. It's like aliases with extra steps...but it's spiffy indeed.
On Universal Blue we have "just update" out of the box to easily update flatpaks, rpm-ostree and distroboxes.
@mongrelion awesome on the usage! I highly recommend reading the manual. There's a lot of capacity it provides.
That said, #justfile do have conditional expressions you can build. However, justfile goal is to be a command runner and only that. Instead of discouraging to write a script, you can use the interpreter of whatever on it directly. Meaning you can go straight to python instead if you need a full language. Not just bash.
I have converted to using #justfile instead of #makefile. It's considerably better.📈 Much like moving to #ripgrep from grep. Once you do the hop, it's REALLY hard not using the tool. 😎
The biggest piece that I like is how you can use an interpreter directly for a target. Want #lua for a target? Sure! Want Nix as a target!? Yup. 😅
#justfile #makefile #ripgrep #lua
Yesterday I lost at least 2 hours shared with another persom debugging why a simple change in a Makefile was not working of CI. In the end it was something about double dollar signs.
Please people, technology has evolved, there's no need to keep using a bad CLang build tool to execute tasks full of .PHONY targets, just use another tool that makes it work as expected.
#Just - https://github.com/casey/just | https://just.systems/ - is exactly that tool.
Yesterday I lost at least 2 hours shared with another persom debugging why a simple change in a Makefile was not working of CI. In the end it was something about double dollar signs.
Please people, technology has evolved, there's no need to keep using a bad CLang build tool to execute tasks full of .PHONY targets, just use another tool that makes it work as expected.
#Just - https://github.com/casey/just | https://just.systems/ - is exactly that tool.
Yesterday I lost at least 2 hours shared with another persom debugging why a simple change in a Makefile was not working of CI. In the end it was something about double dollar signs.
Please people, technology has evolved, there's no need to keep using a bad CLang build tool to execute tasks full of .PHONY targets, just use anothet tool that makes it work as expected.
Just - https://github.com/casey/just | https://just.systems/ - is exactly that tool.