Skip to content

Commit 5cedc4c

Browse files
authored
Merge pull request #59 from clojerl/use-latest-clojerl-and-rebar3-plugin
Use latest clojerl and rebar3 plugin
2 parents c404922 + c757801 commit 5cedc4c

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ RUN apk add --update ncurses openssl \
1010

1111
USER clojerl
1212

13+
ENV CODE_LOADING_MODE interactive
14+
1315
ENTRYPOINT /opt/try_clojerl/bin/try_clojerl foreground

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DOCKER_REPO := jfacorro/try_clojerl
55
DOCKER_TAG := $(shell git describe --tags --always 2>/dev/null || echo 0)
66

77
all:
8-
@ rebar3 clojerl compile
8+
@ rebar3 compile
99

1010
repl:
1111
@ rebar3 clojerl repl --apps try_clojerl
@@ -14,7 +14,7 @@ clean:
1414
@ rm -rf _build rebar.lock
1515

1616
release:
17-
@ rebar3 as prod clojerl release
17+
@ rebar3 as prod release
1818

1919
docker-build: clean
2020
@ docker run -i \

rebar.config

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{ deps
2-
, [ {clojerl, ".*", {git, "https://github.com/jfacorro/clojerl.git", {branch, "master"}}}
3-
, {hiccup, ".*", {git, "https://github.com/jfacorro/hiccup.git", {branch, "clojerl"}}}
2+
, [ {clojerl, ".*", {git, "https://github.com/clojerl/clojerl.git", {branch, "master"}}}
3+
, {hiccup, ".*", {git, "https://github.com/clojerl/hiccup.git", {branch, "clojerl"}}}
44
, {lager, "3.5.1"}
55
, {cowboy, "2.0.0"}
66
, {jsx, "2.8.2"}
77
]
88
}.
99

1010
{ plugins
11-
, [ {'rebar3_clojerl', ".*", {git, "https://github.com/clojerl/rebar3_clojerl", {branch, "0.4.0"}}}
11+
, [ {'rebar3_clojerl', ".*", {git, "https://github.com/clojerl/rebar3_clojerl", {tag, "0.6.0"}}}
1212
]
1313
}.
1414

@@ -24,6 +24,11 @@
2424
]
2525
}.
2626

27+
{ provider_hooks
28+
, [ {post, [{compile, {clojerl, compile}}]}
29+
]
30+
}.
31+
2732
{ profiles
2833
, [ { prod
2934
, [ {relx, [{dev_mode, false}, {include_erts, true}]}

0 commit comments

Comments
 (0)