-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
29 lines (24 loc) · 969 Bytes
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{deps_dir, ["../../deps"]}.
{lib_dirs, ["../../apps"]}.
{deps, [
{gentelella,".*",{git,"https://github.com/naga-framework/gentelella",{tag, "master"} }}
,{markdown,".*", {git, "https://github.com/erlware/erlmarkdown", {tag, "master"} }}
,{simplemde,".*",{git,"https://github.com/naga-framework/simplemde", {tag, "master"} }}
]}.
{erlydtl_opts, [
{out_dir, "ebin"}
,{compiler_options, [report, return, debug_info]}
%% ----- n2o template -----
,{doc_root, "priv/templates"}
,{source_ext, ".dtl"}
,{module_ext, "_view"}
,{auto_escape, false}
%% ----- naga template -----
,{naga, [ {enable, true}
,{app, "cms_adm" }
,{view_dir, ["src", "view"]}
,{extensions, [{".html","_html"},{".js", "_js"},{".css","_css"},{".json","_json"},{".txt","_txt"}]}
,{template_tag_modules, []}
,{auto_escape, false}
]}
]}.