简体   繁体   中英

What is Clojure CLI tools “edn string” as arg?

I'm trying to pass ClojureScript compile options, specifically :asset-path .

clj --main cljs.main --help says I should pass it on the command line as "an edn string".

What exactly is an edn string in this context? (ie i'm failing to successfully guess what exactly I should enter in the terminal).

找到了,这有效:

--compile-opts "{:asset-path \\"/js/compiled/out\\"}"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM