mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32: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
|
Now you can either compile this like a normal V program and get an executable you can deploy and run
|
||||||
anywhere:
|
anywhere:
|
||||||
`v deploy.vsh && ./deploy`
|
`v -skip-running deploy.vsh && ./deploy`
|
||||||
|
|
||||||
Or just run it more like a traditional Bash script:
|
Or run it like a traditional Bash script:
|
||||||
`v run deploy.vsh`
|
`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`:
|
On Unix-like platforms, the file can be run directly after making it executable using `chmod +x`:
|
||||||
`./deploy.vsh`
|
`./deploy.vsh`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue