mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: add the shebang line to the .vsh chmod-able example script (#8926)
This commit is contained in:
@@ -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`.
|
||||||
|
Reference in New Issue
Block a user