Fork me on GitHub
#clojure-japan
<
2015-09-09
>
ayamada10:09:44

自分は、google playを通してアプリを公開するのが面倒になって、androidアプリ作りは撤退してしまいましたが

woxtu14:09:52

Bootを使ってClojureScriptを書いている人がいたら教えて欲しいんですが 出力するファイル名を変えたいときって (cljs :compiler-options {:output-to "foo.js"}) で良いのでしょうか

woxtu15:09:51

(cljs :compiler-options {:output-to "foo.js"})​ や (cljs :output-to "foo.js")​ で試してみたんですが 出力が target/main.js からどうにも変わらなくて

ayato_p20:09:05

あー、それは boot-cljs のほうの問題ですね

ayato_p20:09:38

> onfigure the compiler to produce compiled JS at a location derived from the file's path, e.g. given the file foo/bar.cljs.edn the output JS file will be foo/bar.js.

ayato_p20:09:29

とあるとおり、 edn ファイルのパスと同じファイルが出力されます(なければ main.js

ayato_p20:09:32

(もう数ヶ月触ってないですが、そういう感じだったと思います)