eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Warning from reltool on unexpected item `build_dependencies` #92

Closed ypaq closed 11 years ago

ypaq commented 11 years ago

I get the following warning from reltool:

 Unexpected item build_dependencies in app file "../rel/../deps/meck/ebin/meck.app".

when meck is a rebar dependency. The list in meck.app is empty maybe it can be removed.

nevar commented 11 years ago

Can you show your reltool.config?

I think meck.app is empty because any module from meck is not used in your release. Depending on config, reltool can remove unused module from release.

It is better exclude meck from release. if you use it only for testing.

eproxus commented 11 years ago

Please try and see if the removed build_dependecies fixes the problem. Otherwise you can re-open the issue.

ypaq commented 11 years ago

Thanks Adam! Warning is gone.

Cheers