rebar.config 1.3 KB

12345678910111213141516171819202122232425262728
  1. {erl_opts, [debug_info]}.
  2. {deps_dir,"deps"}.
  3. {erl_first_files, ["rest.erl"]}.
  4. {deps, [{n2o, ".*", {git, "git://github.com/synrc/n2o", {tag,"master"}}},
  5. {kvs, ".*", {git, "git://github.com/synrc/kvs", {tag,"master"}}},
  6. {dec, ".*", {git, "git://github.com/erpuno/dec", {tag,"master"}}},
  7. {bpe, ".*", {git, "git://github.com/synrc/bpe", {tag,"master"}}},
  8. {erp, ".*", {git, "git://github.com/erpuno/erp", {tag,"master"}}},
  9. {jsone, ".*", {git, "git://github.com/sile/jsone", {tag,"master"}}},
  10. {syn, ".*", {git, "git://github.com/ostinelli/syn", {tag,"master"}}},
  11. {cowboy, ".*", {git, "git://github.com/voxoz/cowboy2", {tag,"master"}}}]}.
  12. {project_plugins, [rebar3_format]}.
  13. {format, [
  14. {files, ["src/*.erl", "test/*.erl"]},
  15. {formatter, otp_formatter},
  16. {options, #{ line_length => 108,
  17. paper => 250,
  18. spaces_around_fields => false,
  19. inlining => all,
  20. inline_clause_bodies => true,
  21. inline_expressions => true,
  22. inline_qualified_function_composition => true,
  23. inline_simple_funs => true,
  24. inline_items => all,
  25. inline_fields => true,
  26. inline_attributes => true
  27. }}]}.