企业网站功能对比分析关于网站建设与维护论文
企业网站功能对比分析,关于网站建设与维护论文,上海南山做网站,网站做315认证Erlang Rebar 使用指南之四#xff1a;依赖管理全文目录#xff1a;本章链接#xff1a;1 rebar依赖定义Rebar取得和构建符合OTP/Rebar规范的项目。如果项目包含子项目#xff0c;Rebar会自动递归地构建它们。项目的依赖在project_dir/rebar.config中定义#xff0c;形式如…Erlang Rebar 使用指南之四依赖管理全文目录本章链接1 rebar依赖定义Rebar取得和构建符合OTP/Rebar规范的项目。如果项目包含子项目Rebar会自动递归地构建它们。项目的依赖在project_dir/rebar.config中定义形式如下{deps, [Dependency1, Dependency2, ...]}.其中每一项(Dependency?)都按照{App, VsnRegex, Source, [raw]}定义‘App‘ 指定OTP应用名称可以是atom或字符串‘VsnRegex‘ 用于匹配版本号的正则表达式‘Source‘ 按照下面的格式指定OTP应用的地址:{hg, Url, Rev} Fetch from mercury repository{git, Url} Fetch from git repository{git, Url, {branch, Branch}} Fetch from git repository{git, Url, } {git, Url, {branch, HEAD}} Fetch from git repository{git, Url, {tag, Tag}} Fetch from git repository{git, Url, Rev} Fetch from git repository{bzr, Url, Rev} Fetch from a bazaar repository[raw]是可选的。包含[raw]的依赖项不要求安装Erlang/OTP的项目结构。项目编译时该依赖项不会自动被编译但是下面的命令对其有作用get-depsupdate-depscheck-depslist-depsdelete-deps2 rebar.config的例子{deps, [{em, .*, {git, https://github.com/sheyll/erlymock.git}},{nano_trace, .*, {git, https://github.com/sheyll/nano_trace.git, {branch, feature/rebar-migration}}},{mochiweb, 2.3.2, {git, https://github.com/mochi/mochiweb.git, {tag, v2.3.2}}},% Or specify a revision to refer a particular commit, useful if the project has only the master branch% {mochiweb, 2.3.2, {git, https://github.com/mochi/mochiweb.git, 15bc558d8222b011e2588efbd86c01d68ad73e60},% An example of a raw dependency:{rebar, .*, {git, git://github.com/rebar/rebar.git, {branch, master}}, [raw]}]}.原文http://blog.csdn.net/ubuntu64fan/article/details/41648263
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/91885.shtml
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!