2019独角兽企业重金招聘Python工程师标准>>>

【 rebar-include-ext-libs-error 】

Your config file worked for me so I'd suggest doing the following:

  • make sure you have git installed
  • put the most recent build of rebar in your project directory
  • use a Makefile like the one I described here
  • delete your existing deps directory
  • run make

If you want to use rebar directly instead of using make you can do:

$ ./rebar get-deps
$ ./rebar compile

【 erlang-and-toolchains 】

Editor: you can use whatever you want. I used emacs for my first year of erlang, but I'm currently using gedit.
Version Control: I like git. It seems that most of the erlang community agrees (most projects are hosted on github).
Workflow: I'd recommend getting familiar with rebar.

Here is an example of a rebar-flavored Makefile:

REBAR := ./rebar.PHONY: all deps doc test clean releaseall: deps$(REBAR) compiledeps:$(REBAR) get-depsdoc:$(REBAR) doc skip_deps=truetest:$(REBAR) eunit skip_deps=trueclean:$(REBAR) cleanrelease: all testdialyzer --src src/*.erl deps/*/src/*.erl

Here are some basic pointers:

  • Put your unit tests in the same modules as the code they are testing. See the rebar wiki for details.
  • Add {cover_enabled, true} to your rebar.config file. Every time you run make test you get a coverage report in HTML!
  • Add your project's dependencies to your rebar.config and you can fetch and build them when you run make deps.
  • Make sure to comment your code with edoc. If you do, rebar can build all of your docs when your run make doc.

转载于:https://my.oschina.net/moooofly/blog/277251

【转载】stackoverflow 上关于 rebar 的讨论相关推荐

  1. 为什么 StackOverflow 上的代码片段会摧毁你的项目?

    昨天公司里碰到一件令人哑然失笑的事情.帮朋友公司做的一个项目,做SIT测试的时候发现一些bug,仔细查了下原因,原来是因为当初觉得这个项目比较简单,交给了几个新入职的新丁,也算是给他们练练手,结果其中 ...

  2. angular面试题及答案_关于最流行的Angular问题的StackOverflow上的48个答案

    angular面试题及答案 by Shlomi Levi 通过Shlomi Levi 关于最流行的Angular问题的StackOverflow上的48个答案 (48 answers on Stack ...

  3. stackoverflow上一个最会举例子的专家

    https://stackoverflow.com/ Premraj是stackoverflow上一个一个最会举例子的专家,我特意收集了他的一些有趣的举例: Java弱引用最精彩的解释 https:/ ...

  4. 如何在StackOverflow上获得第一个标签徽章-以及为什么它很重要。

    by Angelos Chalaris 通过安吉洛斯·查拉利斯(Angelos Chalaris) 如何在StackOverflow上获得第一个标签徽章-以及为什么它很重要. (How to get ...

  5. stackoverflow上Java相关回答整理翻译

    原文链接:https://github.com/giantray/stackoverflow-java-top-qa stackoverflow-Java-top-qa 对stackoverflow上 ...

  6. 在stackoverflow上使用markdown

    本文整理自http://www.tuicool.com/articles/UJziqqr,但结合具体实际,发现有一些出入,遂做了修改,适用于stackoverflow网站的编辑器,所有权力归原作者所有 ...

  7. 我发现:在StackOverflow上拯救歪果仁十分有意思!

    菊长:火星特工们!今天是周五了,大家有什么提议? BeJavaGod:报告菊长!我发现,在StackOverflow上拯救歪果仁十分有意思! 噗哈哈,时不时遇到问题会使用到StackOverflow, ...

  8. Stackoverflow上有哪些声望高or值得关注的国人

    Stackoverflow上有哪些声望高/值得关注的国人? 文章别名: Stackoverflow中国用户排行榜 以下回答并不严格按照 Reputation 排名来列,也不收录不确定是Chinese( ...

  9. 老码农教你在 StackOverflow 上谈笑风生

    老码农教你在 StackOverflow 上谈笑风生 本文作者: 伯乐在线 - 老码农 . 欢迎加入伯乐在线 专栏作者. 作为一个高大上的码农,你肯定用到过 StackOverflow,必须的.会有人 ...

最新文章

  1. C++向量类模板(支持实数向量与复数向量的各种运算)
  2. 阿里云联合8家芯片商推“全平台通信模组”,加速物联网生态建设...
  3. 每日一皮:是金子无论到哪里、哪怕变个形状都会发光..
  4. java求一个数的阶乘_Java如何使用方法计算一个数字的阶乘值?
  5. 找出数组中任一重复的数字
  6. EGOImageView 解析
  7. Could not find a suitable table factory for ‘org.apache.flink.table.factories.TableSourceFactory‘
  8. X3C to X9T
  9. 【图论】【最短路】【Dijkstra】最小花费(ssl 2206/luogu 1576)
  10. 【Elasticsearch】ES 7.8 写入 查询 Normalizer 忽略 大小写
  11. [翻译]XNA 3.0 Game Programming Recipes之forty-eight
  12. C字符串与C++字符串基本用法
  13. r语言插补法_R语言用多重插补法估算相对风险
  14. 《Adobe Photoshop CS6中文版经典教程》目录—导读
  15. 2022年湖南省中医执业医师考试第三单元医学针灸学模拟题
  16. 阿里云 大数据DataWorks开发套件的相关操作
  17. vue在组件内实现对图标的显示与隐藏
  18. ios实时卡顿检测和优化方案
  19. TexturePacker使用详解
  20. 计算机的四屏故障维修,四则电脑显示器硬件故障检修实用技巧

热门文章

  1. R7-1 What is a computer? (5 分)
  2. mongodb转实体对像_营销案例丨实体店走出门面冷清的方法:打造体验式门店
  3. 微信 账户升级服务器地址,微信支付商户平台账户升级后有哪些新功能呢?
  4. 背景差分法android代码,【学术论文】基于背景差分法的尾气烟度检测系统设计...
  5. java mysql存储过程_JAVA调用MySQL存储过程
  6. 今日头条架构演进之路——高压下的架构演进专题(含PPT)
  7. 修改tomcat服务器默认端口
  8. C# 大数组赋值给小数组,小数组赋值给大数组
  9. 利用并查集判断一个无向图是否成树
  10. 原生js实现ajax