ErlyORM / boss_db

BossDB: a sharded, caching, pooling, evented ORM for Erlang
Other
277 stars 138 forks source link

Rebar intergration and boss_compiler changes #171

Closed t0fik closed 10 years ago

t0fik commented 10 years ago
  1. boss_db_rebar plugin: I've changes return status of compile_model/4 to rebar_base_compiler:ok_tuple and rebar_base_compiler:error_tuple, now rebar gives nice info on compilation error.
  2. boss_compiler: IncludeDirs variable is building from default app "include" dir, 'include_dirs' option and all 'i' tuples, so aleppo doesn't complain about missing includes.
davidw commented 10 years ago

Does this work with the latest versions of rebar and erlydtl?

t0fik commented 10 years ago

It works with latest rebar (git HEAD). I didn't check with erlydtl.

davidw commented 10 years ago

It'd be interesting to see if it works with my fork of CB, which has a patched rebar ( see https://github.com/rebar/rebar/pull/221 ) and the latest version of erlydtl. I would think so, in which case I'll merge your pull request.