mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tools: add a small utility script cmd/tools/vrun
, to make it easier to use .vsh scripts on systems, with /usr/bin/env
still not supporting -S
This commit is contained in:
parent
d30598bbca
commit
7ea5b4a020
2 changed files with 30 additions and 0 deletions
|
@ -8132,6 +8132,10 @@ were made and keep the binary as `tmp.<scriptfilename>`. **Caution**: if this fi
|
|||
exists the file will be overridden. If you want to rebuild each time and not keep this binary
|
||||
instead use `#!/usr/bin/env -S v -raw-vsh-tmp-prefix tmp run`.
|
||||
|
||||
Note: there is a small shell script `cmd/tools/vrun`, that can be useful for systems, that have an
|
||||
env program (`/usr/bin/env`), that still does not support an `-S` option (like BusyBox).
|
||||
See https://github.com/vlang/v/blob/master/cmd/tools/vrun for more details.
|
||||
|
||||
# Appendices
|
||||
|
||||
## Appendix I: Keywords
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue