eginez / calvin

A minimalistic build tool for clojurescript projects that does not require the jvm
186 stars 9 forks source link

Pass remaining REPL arguments on to lumo / planck #9

Closed plexus closed 7 years ago

plexus commented 7 years ago

In "repl" mode, instead of ignoring them, pass extra command line arguments on to the lumo or planck sub-process.

This makes it easy to run a lumo script that uses project.clj dependencies, without having to first compile in.

Also has other uses like adding --dumb-terminal when needed.

calvin repl my_script.cljs
calvin repl --dumb-terminal
calvin repl -c src -m my-project.main
calvin repl --socket-repl 3333

(thought, maybe "repl" should be aliased to "run"? as in calvin run my_script.cljs)