In the interim, you can pass multiple -e expressions, one for each form that
would be in the build file you'd hypothetically be evaluating.
For example:
java -cp cljs.jar:src clojure.main -e "(require 'cljs.build.api)" -e
'(cljs.build.api/build "src" {:output-to "out/main.js"})'
--
Note that
It's not possible but only because nobody has contributed the necessary
patches. I'd be happy to see a comprehensive CLI story.
David
On Mon, Aug 15, 2016 at 8:00 PM, Brandeis King
wrote:
> Hi,
>
> I understand ClojureScript can be compiled from the command line
Open an issue in JIRA.
Thanks!
David
On Mon, Aug 15, 2016 at 6:37 AM, Miroslav Kubíček <
miroslav.kubi...@gmail.com> wrote:
> Hi there!
> I am having troubles making the cljs pretty print (cljs.pprint/pprint)
> behave the same way as the regular cljs or clj print function when it goes
> down to
Hi there!
I am having troubles making the cljs pretty print (cljs.pprint/pprint) behave
the same way as the regular cljs or clj print function when it goes down to
tagged elements that are by default used to denote custom records.
See example below - pr, pr-str, print and print-str functions
We are pleased to announce that http://clojurescript.org is now a site rather
than a redirect to the github repo. Content was seeded from the CLJS wiki.
The site contribution process is the same as http://clojure.org - Contributor
Agreement is required, but then contributions can be sent via
ClojureScript, the Clojure compiler that emits JavaScript source code.
README and source code: https://github.com/clojure/clojurescript
Leiningen dependency information:
[org.clojure/clojurescript "1.9.211"]
This release addresses a few bugs around cljs.spec discovered in the
last release