Skip to content
Discussion options

You must be logged in to vote

It isn't very pretty, but you can do:

foo:
  echo foo

bar:
  echo bar
  just --justfile {{justfile()}} foo

(-f can also be used instead of --justfile.)

This has come up a few times before, so ideally there would be a nice way to do this without such hackery.

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
17 replies
@homeworkprod
Comment options

@casey
Comment options

@homeworkprod
Comment options

@stevenh
Comment options

@enbugger
Comment options

Answer selected by fgblomqvist
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants