init commit
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
{:tasks
|
||||
{compile {:doc "Compile all .clje and .ex files"
|
||||
:task (shell "mix compile")}
|
||||
:task (apply shell "mix compile" *command-line-args*)}
|
||||
|
||||
test {:doc "Run all tests"
|
||||
:task (shell "mix test")}
|
||||
|
||||
test:trace {:doc "Run all tests with trace output"
|
||||
:task (shell "mix test --trace")}
|
||||
test {:doc "Run tests (accepts mix test args, e.g. bb test --only phase5)"
|
||||
:task (apply shell "mix test" *command-line-args*)}
|
||||
|
||||
repl {:doc "Start interactive CljElixir REPL"
|
||||
:task (shell "rlwrap mix clje.repl")}
|
||||
@@ -14,11 +11,17 @@
|
||||
repl:basic {:doc "Start REPL without rlwrap"
|
||||
:task (shell "mix clje.repl")}
|
||||
|
||||
nrepl {:doc "Start nREPL server (random port)"
|
||||
:task (shell "mix clje.nrepl")}
|
||||
nrepl {:doc "Start nREPL server (bb nrepl --port 7888)"
|
||||
:task (apply shell "mix clje.nrepl" *command-line-args*)}
|
||||
|
||||
nrepl:port {:doc "Start nREPL on port 7888"
|
||||
:task (shell "mix clje.nrepl --port 7888")}
|
||||
eval {:doc "Evaluate expression (bb eval '(+ 1 2)')"
|
||||
:task (apply shell "mix clje.eval" *command-line-args*)}
|
||||
|
||||
run {:doc "Run a .clje file (bb run examples/chat_room.clje)"
|
||||
:task (apply shell "mix clje.run" *command-line-args*)}
|
||||
|
||||
build {:doc "Compile .clje to BEAM (bb build src/foo.clje [-o dir])"
|
||||
:task (apply shell "mix clje.build" *command-line-args*)}
|
||||
|
||||
clean {:doc "Clean build artifacts"
|
||||
:task (shell "mix clean")}
|
||||
|
||||
Reference in New Issue
Block a user