mirror of
https://github.com/vlang/v.git
synced 2025-09-16 10:57:25 -04:00
docs: improve the v deploy.vsh
section
This commit is contained in:
parent
cc14272444
commit
d364e61b8c
@ -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…
x
Reference in New Issue
Block a user