Skip to content

Commit 326d1b5

Browse files
committed
Configure the release
1 parent 3b43a8d commit 326d1b5

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
_build/
22
_checkouts/
33
rebar.lock
4+
ebin/

config/sys.config

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[].

config/vm.args

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-sname web-app
2+
3+
-setcookie web-app
4+
5+
-mode interactive

rebar.config

+12
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,15 @@
88
, [ {'rebar3_clojerl', ".*", {git, "https://github.com/clojerl/rebar3_clojerl", {branch, "master"}}}
99
]
1010
}.
11+
12+
{relx, [ { release
13+
, {'web-app', "0.1.0"}
14+
, [sasl, 'web-app']
15+
}
16+
, {sys_config, "./config/sys.config"}
17+
, {vm_args, "./config/vm.args"}
18+
, {dev_mode, true}
19+
, {include_erts, false}
20+
, {extended_start_script, true}
21+
]
22+
}.

src/web-app.app.src

+2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{ application, 'web-app'
22
, [ {vsn, git}
3+
, {description, "Simple Clojerl Cowboy web app"}
34
, {modules, []}
45
, { applications
56
, [ stdlib
67
, kernel
78
, cowboy
9+
, clojerl
810
]
911
}
1012
, {mod, {'web-app.app', []}}

0 commit comments

Comments
 (0)