15 Star 20 Fork 3

zyuyou / ltank

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rebar.config 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
zyuyou 提交于 2015-01-20 13:35 . 更新cowboy和jsx的依赖包路径
% 定义libs目录
{lib_dirs, []}.
% 编译子目录
{sub_dirs, []}.
% 要求当前机器的erlang版本为17
{require_otp_vsn, "17"}.
% 如果ebin目录下存在beam文件,允许覆盖
{cover_enabled, true}.
% 是否递归执行
{recursive_cmds, [clean]}.
{erl_first_files, []}.
% 编译参数
{erl_opts, [
{parse_transform, lager_transform}, % lager指定编译参数
debug_info,
%% {d, 'TEST'},
warnings_as_errors % 编译时检查是否有warning,如果有将编译报错
]}.
{clean_files, []}.
{deps, [
{lager, ".*", {git, "https://github.com/basho/lager.git", {branch, "master"}}},
{pmod_transform, ".*", {git, "https://github.com/erlang/pmod_transform.git", {branch, "master"}}},
{recon, ".*", {git, "https://github.com/ferd/recon.git", {branch, "master"}}},
{poolboy, ".*", {git, "https://github.com/devinus/poolboy.git", {branch, "master"}}},
{protobuffs, ".*", {git, "https://github.com/basho/erlang_protobuffs.git", {branch, "master"}}},
{folsom, ".*", {git, "https://github.com/boundary/folsom.git", {branch, "master"}}},
{cowboy, ".*", {git, "https://git.oschina.net/youscape/cowboy.git", {tag, "1.0.1"}}},
{jsx, ".*", {git, "https://git.oschina.net/youscape/jsx.git", {branch, "beamspirit"}}}
]}.
Erlang
1
https://gitee.com/zyuyou/ltank.git
git@gitee.com:zyuyou/ltank.git
zyuyou
ltank
ltank
develop

搜索帮助