clj CLI
clj command is a command line tool that is provided by Clojure Official.
Install for Mac
code:sh
$ brew install clojure
Usage
See:
code:bash
$ clj -h
$ clj -m cljs.main -h
Compile ClojureScript
Only clj command
code:sh
$ clj -m cljs.main -O <none/whitespace/simple/advanced> -o <output path> -c <namespace>
Use figwheel.main
code:figwheel-main.edn
{:target-dir "resources"}
code:dev.cljs.edn
:output-to "<output path>"}}}
code:sh
$ clj -m figwheel.main -O <none/whitespace/simple/advanced> -bo dev