Max Howell
Max Howell
yeah I agree, we shouldn’t be running stuff from outside tea with `-X`. I'll fix this. edit: ca948900b5686d22a621ec56cb485327986c87f6
Adding all the provides is an ongoing task. I could probably do a quick pass
I see @jhheider beat me to it: https://github.com/teaxyz/pantry.core/pull/37#pullrequestreview-1194887333 Closing
k, just realized that we should also support `#!/usr/bin/env foo`
Other considerations: ```sh $ curl -O https://gist.githubusercontent.com/i0bj/2b3afbe07a44179250474b5f36e7bd9b/raw/colors.go $ mv colors.go colors $ tea ./colors tea: installed: ~/.tea/go.dev/v1.19.2 error: permission denied (os error 13) ``` Because we just ask `sh` to...
Thanks both, good review. I'll make it so it doesn’t need to have the executable bit set. One remaining thing that I don’t know about is how “shebangs” work exactly....
Needs tests, but so does *everything*. We need this to fix a few one-liners we specify as demos so will merge.
didn't read all this yet, but absolutely: this is a goal.
oh interesting. I already coded it so `tea_foo` runs `foo` (recent addition), but yeah, we *could* (also†) do what you suggest. This is a very neat idea. Also the version...
So… arg0 is `deno` when we are running from source, which notably includes all the times are running tests. In other words, we do need to “be” deno. But in...