Current section
13 Versions
Jump to
Current section
13 Versions
Compare versions
8
files changed
+75
additions
-22
deletions
| @@ -1,6 +1,8 @@ | |
| 1 1 | rebar3_clojerl |
| 2 2 | ===== |
| 3 3 | |
| 4 | + [](https://hex.pm/packages/rebar3_clojerl) |
| 5 | + |
| 4 6 | Compile clojerl projects |
| 5 7 | |
| 6 8 | ## Build |
| @@ -5,6 +5,7 @@ | |
| 5 5 | [<<"LICENSE">>,<<"README.md">>,<<"priv/templates/LICENSE.tpl">>, |
| 6 6 | <<"priv/templates/README.md.tpl">>,<<"priv/templates/app.clje.tpl">>, |
| 7 7 | <<"priv/templates/app.src.tpl">>,<<"priv/templates/clojerl_app.template">>, |
| 8 | + <<"priv/templates/core.clje.tpl">>,<<"priv/templates/core_test.clje.tpl">>, |
| 8 9 | <<"priv/templates/gitignore.tpl">>,<<"priv/templates/rebar.config.tpl">>, |
| 9 10 | <<"priv/templates/sup.clje.tpl">>,<<"rebar.config">>,<<"rebar.lock">>, |
| 10 11 | <<"src/rebar3_clojerl.app.src">>,<<"src/rebar3_clojerl.erl">>, |
| @@ -17,4 +18,4 @@ | |
| 17 18 | {<<"GitHub">>,<<"https://github.com/clojerl/rebar3_clojerl">>}]}. |
| 18 19 | {<<"name">>,<<"rebar3_clojerl">>}. |
| 19 20 | {<<"requirements">>,[]}. |
| 20 | - {<<"version">>,<<"0.6.6">>}. |
| 21 | + {<<"version">>,<<"0.6.7">>}. |
| @@ -3,9 +3,11 @@ | |
| 3 3 | {name, "mylib", "Name of the Clojerl application"}, |
| 4 4 | {desc, "A Clojerl application", "Short description of the app"} |
| 5 5 | ]}. |
| 6 | + {template, "core.clje.tpl", "{{name}}/src/{{name}}/core.clje"}. |
| 6 7 | {template, "app.clje.tpl", "{{name}}/src/{{name}}/app.clje"}. |
| 7 8 | {template, "sup.clje.tpl", "{{name}}/src/{{name}}/sup.clje"}. |
| 8 9 | {template, "app.src.tpl", "{{name}}/src/{{name}}.app.src"}. |
| 10 | + {template, "core_test.clje.tpl", "{{name}}/test/{{name}}/core_test.clje"}. |
| 9 11 | {template, "rebar.config.tpl", "{{name}}/rebar.config"}. |
| 10 12 | {template, "gitignore.tpl", "{{name}}/.gitignore"}. |
| 11 13 | {template, "LICENSE.tpl", "{{name}}/LICENSE"}. |
| @@ -0,0 +1 @@ | |
| 1 | + (ns {{name}}.core) |
| @@ -0,0 +1,7 @@ | |
| 1 | + (ns {{name}}.core-test |
| 2 | + (:require [clojure.test :refer :all] |
| 3 | + [{{name}}.core :refer :all])) |
| 4 | + |
| 5 | + (deftest a-test |
| 6 | + (testing "FIXME, I fail." |
| 7 | + (is (= 0 1)))) |
Loading more files…