mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
docs: improve the v deploy.vsh
section
This commit is contained in:
parent
cc14272444
commit
d364e61b8c
1 changed files with 3 additions and 3 deletions
|
@ -7679,10 +7679,10 @@ sh('ls')
|
|||
|
||||
Now you can either compile this like a normal V program and get an executable you can deploy and run
|
||||
anywhere:
|
||||
`v deploy.vsh && ./deploy`
|
||||
`v -skip-running deploy.vsh && ./deploy`
|
||||
|
||||
Or just run it more like a traditional Bash script:
|
||||
`v run deploy.vsh`
|
||||
Or run it like a traditional Bash script:
|
||||
`v run deploy.vsh` (or simply just `v deploy.vsh`)
|
||||
|
||||
On Unix-like platforms, the file can be run directly after making it executable using `chmod +x`:
|
||||
`./deploy.vsh`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue