home.social

#justfile — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #justfile, aggregated by home.social.

  1. Has anyone ever used `just` instead of `make` as a task runner for a project? If so, how did it work for you? Any feedback?

    just.systems/man/en/

    I have some nontrivial cargo command invocations that need to support parameterization, so I'm considering adding a task runner to the project. Just wondering, should I stick with `make`, or try something new? 🤔

  2. Has anyone ever used `just` instead of `make` as a task runner for a project? If so, how did it work for you? Any feedback?

    just.systems/man/en/

    I have some nontrivial cargo command invocations that need to support parameterization, so I'm considering adding a task runner to the project. Just wondering, should I stick with `make`, or try something new? 🤔

    #just #make #justfile #makefile #taskrunner

  3. Has anyone ever used `just` instead of `make` as a task runner for a project? If so, how did it work for you? Any feedback?

    just.systems/man/en/

    I have some nontrivial cargo command invocations that need to support parameterization, so I'm considering adding a task runner to the project. Just wondering, should I stick with `make`, or try something new? 🤔

    #just #make #justfile #makefile #taskrunner

  4. Has anyone ever used `just` instead of `make` as a task runner for a project? If so, how did it work for you? Any feedback?

    just.systems/man/en/

    I have some nontrivial cargo command invocations that need to support parameterization, so I'm considering adding a task runner to the project. Just wondering, should I stick with `make`, or try something new? 🤔

    #just #make #justfile #makefile #taskrunner

  5. I been looking at #taskfile and this is complex. 🤔 The command runner has so many abilities. And verbose too. 🫠

    I don't think I'll use for myself, but I can see utility for shared tasks.

    For me #justfile is enough. Not too complex. Has a #makefile syntax. And NOT #yaml. 😅

    taskfile.dev/usage/

  6. I been looking at and this is complex. 🤔 The command runner has so many abilities. And verbose too. 🫠

    I don't think I'll use for myself, but I can see utility for shared tasks.

    For me is enough. Not too complex. Has a syntax. And NOT . 😅

    taskfile.dev/usage/

  7. I been looking at #taskfile and this is complex. 🤔 The command runner has so many abilities. And verbose too. 🫠

    I don't think I'll use for myself, but I can see utility for shared tasks.

    For me #justfile is enough. Not too complex. Has a #makefile syntax. And NOT #yaml. 😅

    taskfile.dev/usage/

  8. I been looking at #taskfile and this is complex. 🤔 The command runner has so many abilities. And verbose too. 🫠

    I don't think I'll use for myself, but I can see utility for shared tasks.

    For me #justfile is enough. Not too complex. Has a #makefile syntax. And NOT #yaml. 😅

    taskfile.dev/usage/

  9. I been looking at #taskfile and this is complex. 🤔 The command runner has so many abilities. And verbose too. 🫠

    I don't think I'll use for myself, but I can see utility for shared tasks.

    For me #justfile is enough. Not too complex. Has a #makefile syntax. And NOT #yaml. 😅

    taskfile.dev/usage/

  10. The @tailscale folks have some excellent YT videos on setting up self-hosted servers on Digital Ocean using Terraform, Ansible, and of course, Tailscale. I just got my first Droplet running.

    Part 1 - Getting started with cloud-init: youtu.be/e-X5FJwrkaA?si=t3iLP-
    Part 2 - Terraform: youtu.be/PEoMmZOj6Cg?si=2IwHCw
    Part 3 - Ansible: youtu.be/k5Xgt31yK2U?si=28MPbw

    #selfhosting #Tailscale #privacy #indiweb #terraform #ansible #justfile

  11. The @tailscale folks have some excellent YT videos on setting up self-hosted servers on Digital Ocean using Terraform, Ansible, and of course, Tailscale. I just got my first Droplet running.

    Part 1 - Getting started with cloud-init: youtu.be/e-X5FJwrkaA?si=t3iLP-
    Part 2 - Terraform: youtu.be/PEoMmZOj6Cg?si=2IwHCw
    Part 3 - Ansible: youtu.be/k5Xgt31yK2U?si=28MPbw

    #selfhosting #Tailscale #privacy #indiweb #terraform #ansible #justfile

  12. The @tailscale folks have some excellent YT videos on setting up self-hosted servers on Digital Ocean using Terraform, Ansible, and of course, Tailscale. I just got my first Droplet running.

    Part 1 - Getting started with cloud-init: youtu.be/e-X5FJwrkaA?si=t3iLP-
    Part 2 - Terraform: youtu.be/PEoMmZOj6Cg?si=2IwHCw
    Part 3 - Ansible: youtu.be/k5Xgt31yK2U?si=28MPbw

    #selfhosting #Tailscale #privacy #indiweb #terraform #ansible #justfile

  13. The @tailscale folks have some excellent YT videos on setting up self-hosted servers on Digital Ocean using Terraform, Ansible, and of course, Tailscale. I just got my first Droplet running.

    Part 1 - Getting started with cloud-init: youtu.be/e-X5FJwrkaA?si=t3iLP-
    Part 2 - Terraform: youtu.be/PEoMmZOj6Cg?si=2IwHCw
    Part 3 - Ansible: youtu.be/k5Xgt31yK2U?si=28MPbw

    #selfhosting #Tailscale #privacy #indiweb #terraform #ansible #justfile

  14. The @tailscale folks have some excellent YT videos on setting up self-hosted servers on Digital Ocean using Terraform, Ansible, and of course, Tailscale. I just got my first Droplet running.

    Part 1 - Getting started with cloud-init: youtu.be/e-X5FJwrkaA?si=t3iLP-
    Part 2 - Terraform: youtu.be/PEoMmZOj6Cg?si=2IwHCw
    Part 3 - Ansible: youtu.be/k5Xgt31yK2U?si=28MPbw

    #selfhosting #Tailscale #privacy #indiweb #terraform #ansible #justfile

  15. Ok, this seems _pretty ok_. Each project's `justfile` will have a little boilerplate of 2 imports and a `fetch` recipe.

    My default justfile can be grabbed with `just fetch` if users want it. The second import is mostly for me and my local filesystem setup.

    That should solve for my local dev, make it relatively easy for other devs to get my default `justfile`, _and_ not repeat the same recipes in every project.

    I think. We’ll see! 😅

    github.com/adamghill/dotfiles/

    #Python #justfile

  16. Ok, this seems _pretty ok_. Each project's `justfile` will have a little boilerplate of 2 imports and a `fetch` recipe.

    My default justfile can be grabbed with `just fetch` if users want it. The second import is mostly for me and my local filesystem setup.

    That should solve for my local dev, make it relatively easy for other devs to get my default `justfile`, _and_ not repeat the same recipes in every project.

    I think. We’ll see! 😅

    github.com/adamghill/dotfiles/

    #Python #justfile

  17. Ok, this seems _pretty ok_. Each project's `justfile` will have a little boilerplate of 2 imports and a `fetch` recipe.

    My default justfile can be grabbed with `just fetch` if users want it. The second import is mostly for me and my local filesystem setup.

    That should solve for my local dev, make it relatively easy for other devs to get my default `justfile`, _and_ not repeat the same recipes in every project.

    I think. We’ll see! 😅

    github.com/adamghill/dotfiles/

    #Python #justfile

  18. Ok, this seems _pretty ok_. Each project's `justfile` will have a little boilerplate of 2 imports and a `fetch` recipe.

    My default justfile can be grabbed with `just fetch` if users want it. The second import is mostly for me and my local filesystem setup.

    That should solve for my local dev, make it relatively easy for other devs to get my default `justfile`, _and_ not repeat the same recipes in every project.

    I think. We’ll see! 😅

    github.com/adamghill/dotfiles/

    #Python #justfile

  19. Ok, this seems _pretty ok_. Each project's `justfile` will have a little boilerplate of 2 imports and a `fetch` recipe.

    My default justfile can be grabbed with `just fetch` if users want it. The second import is mostly for me and my local filesystem setup.

    That should solve for my local dev, make it relatively easy for other devs to get my default `justfile`, _and_ not repeat the same recipes in every project.

    I think. We’ll see! 😅

    github.com/adamghill/dotfiles/

    #Python #justfile

  20. Sharing so it's easier for me to remember: #justfile recipes can take splat arguments.

    test *args:
    pytest tests {{ args }}

    Means I can do

    just test -xk Links

    and that'll expand to

    pytest tests -xk Links
  21. Sharing so it's easier for me to remember: #justfile recipes can take splat arguments.

    test *args:
    pytest tests {{ args }}

    Means I can do

    just test -xk Links

    and that'll expand to

    pytest tests -xk Links
  22. Sharing so it's easier for me to remember: #justfile recipes can take splat arguments.

    test *args:
    pytest tests {{ args }}

    Means I can do

    just test -xk Links

    and that'll expand to

    pytest tests -xk Links
  23. Sharing so it's easier for me to remember: #justfile recipes can take splat arguments.

    test *args:
    pytest tests {{ args }}

    Means I can do

    just test -xk Links

    and that'll expand to

    pytest tests -xk Links
  24. Sharing so it's easier for me to remember: #justfile recipes can take splat arguments.

    test *args:
    pytest tests {{ args }}

    Means I can do

    just test -xk Links

    and that'll expand to

    pytest tests -xk Links
  25. @Larvitz

    Well, you could make that into a just recipe and then make it "just update". 😅


    github.com/casey/just

    Baked into projects as "ujust update".

  26. @Larvitz

    Well, you could make that into a just recipe and then make it "just update". 😅

    #justfile
    github.com/casey/just

    Baked into #UniveralBlue projects as "ujust update".

  27. Unreasonably pleased by a tiny tweak to #plaintextaccounting scripts. I keep most of them in a #Justfile. I have these useful help/h recipes:

    # list recipes, optionally filtered by REGEX.
    @help *REGEX:
    if [[ '{{ REGEX }}' == '' ]]; then just -lu; else just -lu --color=always | rg --pcre2 -i '{{ REGEX }}'; true; fi

    alias h := help

    and shell alias j=just; so to list foo-related scripts I’m often typing

    j h foo

    It's short, but… I added alias h='just help’, now it’s much better:

    h foo

    🎉

  28. Unreasonably pleased by a tiny tweak to scripts. I keep most of them in a . I have these useful help/h recipes:

    # list recipes, optionally filtered by REGEX.
    @help *REGEX:
    if [[ '{{ REGEX }}' == '' ]]; then just -lu; else just -lu --color=always | rg --pcre2 -i '{{ REGEX }}'; true; fi

    alias h := help

    and shell alias j=just; so to list foo-related scripts I’m often typing

    j h foo

    It's short, but… I added alias h='just help’, now it’s much better:

    h foo

    🎉

  29. Unreasonably pleased by a tiny tweak to #plaintextaccounting scripts. I keep most of them in a #Justfile. I have these useful help/h recipes:

    # list recipes, optionally filtered by REGEX.
    @help *REGEX:
    if [[ '{{ REGEX }}' == '' ]]; then just -lu; else just -lu --color=always | rg --pcre2 -i '{{ REGEX }}'; true; fi

    alias h := help

    and shell alias j=just; so to list foo-related scripts I’m often typing

    j h foo

    It's short, but… I added alias h='just help’, now it’s much better:

    h foo

    🎉

  30. Unreasonably pleased by a tiny tweak to #plaintextaccounting scripts. I keep most of them in a #Justfile. I have these useful help/h recipes:

    # list recipes, optionally filtered by REGEX.
    @help *REGEX:
    if [[ '{{ REGEX }}' == '' ]]; then just -lu; else just -lu --color=always | rg --pcre2 -i '{{ REGEX }}'; true; fi

    alias h := help

    and shell alias j=just; so to list foo-related scripts I’m often typing

    j h foo

    It's short, but… I added alias h='just help’, now it’s much better:

    h foo

    🎉

  31. Unreasonably pleased by a tiny tweak to #plaintextaccounting scripts. I keep most of them in a #Justfile. I have these useful help/h recipes:

    # list recipes, optionally filtered by REGEX.
    @help *REGEX:
    if [[ '{{ REGEX }}' == '' ]]; then just -lu; else just -lu --color=always | rg --pcre2 -i '{{ REGEX }}'; true; fi

    alias h := help

    and shell alias j=just; so to list foo-related scripts I’m often typing

    j h foo

    It's short, but… I added alias h='just help’, now it’s much better:

    h foo

    🎉

  32. And the next part: importing transactions you may have forgotten but your forecast rules have not. Nicely avoids importing transactions twice.

    YEAR := `date +%Y`
    FORECASTJ := YEAR / YEAR + '-forecast.journal'

    # import any recent transactions generated by forecast rules; --dry to preview
    @import-forecast *ARGS:
    hledger import -s -I --auto --forecast=-15days..tomorrow {{ FORECASTJ }} "$@"

    (import explained: hledger.org/dev/hledger.html#i)

    #hledger #PlainTextAccounting #justfile

  33. And the next part: importing transactions you may have forgotten but your forecast rules have not. Nicely avoids importing transactions twice.

    YEAR := `date +%Y`
    FORECASTJ := YEAR / YEAR + '-forecast.journal'

    # import any recent transactions generated by forecast rules; --dry to preview
    @import-forecast *ARGS:
    hledger import -s -I --auto --forecast=-15days..tomorrow {{ FORECASTJ }} "$@"

    (import explained: hledger.org/dev/hledger.html#i)

  34. And the next part: importing transactions you may have forgotten but your forecast rules have not. Nicely avoids importing transactions twice.

    YEAR := `date +%Y`
    FORECASTJ := YEAR / YEAR + '-forecast.journal'

    # import any recent transactions generated by forecast rules; --dry to preview
    @import-forecast *ARGS:
    hledger import -s -I --auto --forecast=-15days..tomorrow {{ FORECASTJ }} "$@"

    (import explained: hledger.org/dev/hledger.html#i)

    #hledger #PlainTextAccounting #justfile

  35. And the next part: importing transactions you may have forgotten but your forecast rules have not. Nicely avoids importing transactions twice.

    YEAR := `date +%Y`
    FORECASTJ := YEAR / YEAR + '-forecast.journal'

    # import any recent transactions generated by forecast rules; --dry to preview
    @import-forecast *ARGS:
    hledger import -s -I --auto --forecast=-15days..tomorrow {{ FORECASTJ }} "$@"

    (import explained: hledger.org/dev/hledger.html#i)

    #hledger #PlainTextAccounting #justfile

  36. And the next part: importing transactions you may have forgotten but your forecast rules have not. Nicely avoids importing transactions twice.

    YEAR := `date +%Y`
    FORECASTJ := YEAR / YEAR + '-forecast.journal'

    # import any recent transactions generated by forecast rules; --dry to preview
    @import-forecast *ARGS:
    hledger import -s -I --auto --forecast=-15days..tomorrow {{ FORECASTJ }} "$@"

    (import explained: hledger.org/dev/hledger.html#i)

    #hledger #PlainTextAccounting #justfile

  37. (In future, if osh/ysh get some make/just-inspired features or libraries (seems quite possible), the pendulum may swing back to using shell only.

  38. (In future, if osh/ysh get some make/just-inspired features or libraries (seems quite possible), the pendulum may swing back to using shell only.

    #oilshell #justfile #makefile

  39. (In future, if osh/ysh get some make/just-inspired features or libraries (seems quite possible), the pendulum may swing back to using shell only.

    #oilshell #justfile #makefile

  40. (In future, if osh/ysh get some make/just-inspired features or libraries (seems quite possible), the pendulum may swing back to using shell only.

    #oilshell #justfile #makefile

  41. I'm using `just` eg to manage developer/maintainer task scripts for #hledger, and to manage personal finance/time/task scripts.

    Here's one for showing a near-term transactions forecast:

    # show forecast transactions predicted recently and soon
    @forecast *ARGS:
    hledger print -I --auto --forecast=-15days..+15days tag:generated "$@"

    (Forecasting explained: hledger.org/dev/hledger.html#f)

    #PlainTextAccounting #justfile

  42. I'm using `just` eg to manage developer/maintainer task scripts for , and to manage personal finance/time/task scripts.

    Here's one for showing a near-term transactions forecast:

    # show forecast transactions predicted recently and soon
    @forecast *ARGS:
    hledger print -I --auto --forecast=-15days..+15days tag:generated "$@"

    (Forecasting explained: hledger.org/dev/hledger.html#f)

  43. I'm using `just` eg to manage developer/maintainer task scripts for #hledger, and to manage personal finance/time/task scripts.

    Here's one for showing a near-term transactions forecast:

    # show forecast transactions predicted recently and soon
    @forecast *ARGS:
    hledger print -I --auto --forecast=-15days..+15days tag:generated "$@"

    (Forecasting explained: hledger.org/dev/hledger.html#f)

    #PlainTextAccounting #justfile

  44. I'm using `just` eg to manage developer/maintainer task scripts for #hledger, and to manage personal finance/time/task scripts.

    Here's one for showing a near-term transactions forecast:

    # show forecast transactions predicted recently and soon
    @forecast *ARGS:
    hledger print -I --auto --forecast=-15days..+15days tag:generated "$@"

    (Forecasting explained: hledger.org/dev/hledger.html#f)

    #PlainTextAccounting #justfile