Permalink
Browse files

Add pmod parse_transform from OTP

  • Loading branch information...
1 parent 2f39fa3 commit e6dbd13c6e4e0098af36a7b4caff940d9c4d5902 @choptastic choptastic committed Jan 30, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −0 include/simple_bridge.hrl
  2. +2 −1 rebar.config
@@ -8,3 +8,4 @@
-record(response, { statuscode=200, headers=[], cookies=[], data=[] }).
-record(uploaded_file, { original_name, temp_file, size }).
-record(request_cache, {request, docroot="", body=""}).
+-compile({parse_transform,pmod_pt}).
View
@@ -2,7 +2,8 @@
%% vim: ts=4 sw=4 et ft=erlang
{deps, [
- {mimetypes, ".*", {git, "git://github.com/spawngrid/mimetypes.git", {tag, "HEAD"}}}
+ {mimetypes, ".*", {git, "git://github.com/spawngrid/mimetypes.git", "HEAD"}},
+ {pmod_transform, ".*", {git, "git://github.com/choptastic/pmod_transform.git", "HEAD"}}
]}.
{erl_opts, [fail_on_warning, debug_info]}.

0 comments on commit e6dbd13

Please sign in to comment.