10 points

Looks like another make. What are the differences though…

permalink
report
reply
5 points
*

Here’s their FAQ answer for that: https://just.systems/man/en/what-are-the-idiosyncrasies-of-make-that-just-avoids.html

I imagine, there’s various smaller differences in how the recipes are defined, but yeah, this is the big one.

I find that Just feels a lot like just a collection of script files, with built-in error handling for argument parsing and during execution. And it also offers easier discovery of available tasks and how to use them.

permalink
report
parent
reply
3 points

aight, why not, might as well try it out :D

permalink
report
parent
reply
3 points
*

Yes! It reminds me a bit of python’s click library but for bash

permalink
report
parent
reply
2 points

I’m just gonna put this little bad boy into my stash of interesting libraries… Here we go. 😖

permalink
report
parent
reply
2 points

It’s pretty much just make, but I find it easier to work with

permalink
report
parent
reply
2 points

I see, I see.

permalink
report
parent
reply
4 points

Discovered just yesterday, my life is easier

permalink
report
reply
2 points

Neat.

permalink
report
parent
reply
2 points

This looks awesome to use with Qemu, thanks.

permalink
report
parent
reply
1 point

Spreading the good word 🙌

permalink
report
parent
reply
2 points
*

I’ve often been able to alias drun='docker compose run --rm --build' and simplify down to:

drun test

Should be able to encode all those wayward args into docker-compose.yml or Dockerfile and only use vanilla docker commands – that’s the whole point of containerization

permalink
report
reply
1 point

The env file is the weirdest part, the container itself has a required environment variable and if I don’t pass it in command line (only have it in the test compose file) the base compose fails because it has no port.

Most of the other commands are to merge the compose files so I can keep my base compose file clean!

permalink
report
parent
reply
1 point
*

Simpler to keep everything in one compose file if you can, under a test service that doesn’t build unless explicitly named

Un-weird that env var and use the normal, boring feature of defining environment under your test service

permalink
report
parent
reply
1 point

The variable is already in the environment, it just doesn’t have a default because it’s required for each container

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.6K

    Monthly active users

  • 810

    Posts

  • 13K

    Comments