-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Originally posted by @xkcd386at in #67 (comment)
Hi
Apologies for the huge delay!
I tried this just now, as below, and I clearly misunderstood how RUNFILE_ROOTS is supposed to work. I'll read up a little more and try again.
Anyway here's my failed attempt to get RUNFILE_ROOTS to work:
$ run version
run 0.11.1 (build=v0.11.1 date=2023-01-24T17:09:23Z builder=goreleaser)
$ pwd
/home/x3/x/gits/run
$ cat ~/.runfile
hello:
echo hi there
$ env|grep -i run
PWD=/home/x3/x/gits/run
$ RUNFILE_ROOTS=$HOME RUNFILE=.runfile run hello
run: ERROR: runfile '.runfile' not found: please create the file or specify an alternative
$ RUNFILE_ROOTS=$HOME run -r .runfile hello
run: ERROR: runfile '.runfile' not found: please create the file or specify an alternative
$ cd
$ RUNFILE=.runfile run hello
hi there
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels