basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

added cuttlefish_util:conf_get_value/3 #44

Closed joedevivo closed 11 years ago

joedevivo commented 11 years ago

This function was supposed to be a convenience function for schema writers that wrapped proplists:get_value

It only makes sense to have the arty 3 version

seancribbs commented 11 years ago

Dialyzed this, found some bugs. These are not part of the PR, but should be addressed soon. Ideally rebar would be added to the PLT to resolve the mustache/rebar problems, but I'm not quite sure how to do that without making rebar a dependency.

Unknown functions:
  eunit:test/1
  inti:stop/1
  mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
$ ack "inti:stop" src
src/cuttlefish_escript.erl
105:            inti:stop(1);
seancribbs commented 11 years ago

Disregard the inti:stop error, it is not present on develop.

Rest of this is :+1: to merge.