Casey Rodarmor
Casey Rodarmor
Interesting! What is `\033]0;\a`? Is it a terminal escape code to change the terminal title? I can't find documentation for it, and I can't get it to work on my...
I'm not opposed to allowing OS attributes on variables, so I'll leave this open.
This seems totally reasonable to me!
I definitely see why this would be useful, and it's a useful feature of Make. It's tricky though! Let's use a simplified example. In this justfile, I'm using a string...
You could also embed a ninja file inside a justfile, which is actually kind of nice: ``` ninja: #!/usr/bin/env ninja -f cflags = -Wall rule cc command = gcc $cflags...
(Perhaps not super useful though, since you're using a shebang recipe, and I don't think it's possible to embed non-shell commands in ninja.)
I'm open to this being implemented, but it's a lot of work, and there are a lot of tricky open questions. Make is a kitchen sink of weird features needed...
This is pretty interesting! It seems like it could be an interesting and low-impact way to support this.
> I laughed at the comment "Iām pretty sure that nobody actually uses this feature" [here](https://github.com/casey/just#non-project-specific-justfile), because I've been using exactly that for my global Makefile for a while now....
One note for anyone who wants to take this on, I think this could be made easier by adding a subcommand, something like `--print-justfile-location`. The autocomplete script could add `--print-justfile-location`...