v
A tool for managing V source code. More information: https://docs.vlang.io/getting-started.html.
- Compile a file and output its executable:
v
- Compile the current project or directory:
v .
- Compile a file and run it:
v run
- Compile a file and run it, output its executable:
v crun
- Re-compile on every modification to a file:
v watch
- Re-run on every modification to a file:
v watch run
- Open the v repl:
v repl
- Format a file and [w]rite to it:
v fmt -w
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
