1
0
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:
pierlucg-xs
2021-02-23 11:14:14 -05:00
committed by GitHub
parent 34002c7c22
commit 864b5ee40b

View File

@ -3890,6 +3890,7 @@ module global (so that you can use `mkdir()` instead of `os.mkdir()`, for exampl
An example `deploy.vsh`:
```v wip
#!/usr/bin/env -S v run
// 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
// once it's made executable using `chmod +x`.