vpm-v语言包管理工具vpm新鲜出炉,欢迎大佬们体验指正!

  V语言中文网  |   10273 |    2019-07-10 19:22:38

vpm

vpm是一个v语言包管理工具,它用v编写而成。

github地址:https://github.com/yue-best-practices/vpm

前置条件(Precondition)

  • V语言版本(v0.1.13)。 
  • 安装git,因为目前包是通过git clone的方式下载的。
  • 配置VROOT环境变量,内容指向v语言源码路径。

安装(Install)

  • 在任意目录下,git clone https://github.com/yue-best-practices/vpm
  • 执行命令v -prod .即可编译出vpm可执行程序

命令(Commands)

命令/Command参数/Params释义/Description
-v/version 版本信息,目前版本是0.0.1
Show version,the current version is 0.0.1
init<project-name>创建.vpm.json文件
Create the .vpm.json file
get<git-url> <pkg-name><git-url>中获取包。
Fetch package from the git repo.
install 安装.vpm.json文件中的包。
Install the package from the .vpm.json file.
-h/help 显示帮助信息。
Show help information.
clean 删除.vpm.json文件。
Delete the .vpm.json file.

vpm笔者还会继续开发维护,如果大家使用过程中有什么问题,欢迎发送Email(或在QQ群中直接@我)向我反馈。

笔者编程菜鸟一枚,如有不足之处,欢迎大佬指正!


登陆后可发表评论


热门评论

暂无评论


最新评论

暂无评论