aboutsummaryrefslogtreecommitdiff
path: root/server/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'server/rebar.config')
-rw-r--r--server/rebar.config35
1 files changed, 35 insertions, 0 deletions
diff --git a/server/rebar.config b/server/rebar.config
new file mode 100644
index 0000000..7f515e9
--- /dev/null
+++ b/server/rebar.config
@@ -0,0 +1,35 @@
+{erl_opts, [debug_info]}.
+
+{deps, [
+ {jsx, "3.1.0"},
+ {cowboy, "2.10.0"},
+ {bcrypt, "1.2.0"},
+ {jwt, "0.1.11"}
+]}.
+
+{shell, [
+ {config, "config/sys.config"},
+ {apps, [jchat]}
+]}.
+
+{relx, [
+ {release, {jchat, "0.1.0"}, [jchat, sasl]},
+ {mode, dev},
+ {include_erts, false}
+]}.
+
+{profiles, [
+ {prod, [
+ {relx, [
+ {mode, prod},
+ {include_erts, true}
+ ]}
+ ]},
+ {test, [
+ {erl_opts, [debug_info, {d, 'TEST'}]},
+ {deps, [
+ {proper, "1.4.0"},
+ {meck, "0.9.2"}
+ ]}
+ ]}
+]}.