docs: add the shebang line to the .vsh chmod-able example script (#8926)
parent
34002c7c22
commit
864b5ee40b
|
@ -3890,6 +3890,7 @@ module global (so that you can use `mkdir()` instead of `os.mkdir()`, for exampl
|
||||||
|
|
||||||
An example `deploy.vsh`:
|
An example `deploy.vsh`:
|
||||||
```v wip
|
```v wip
|
||||||
|
#!/usr/bin/env -S v run
|
||||||
// The shebang above associates the file to V on Unix-like systems,
|
// The shebang above associates the file to V on Unix-like systems,
|
||||||
// so it can be run just by specifying the path to the file
|
// so it can be run just by specifying the path to the file
|
||||||
// once it's made executable using `chmod +x`.
|
// once it's made executable using `chmod +x`.
|
||||||
|
|
Loading…
Reference in New Issue