clojure-japan

2015-09-09T10:01:44.000005Z

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

2015-09-09T14:54:52.000006Z

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

2015-09-09T15:00:51.000007Z

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

ayato_p 2015-09-09T20:26:05.000009Z

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

ayato_p 2015-09-09T20:26:10.000010Z

https://github.com/adzerk-oss/boot-cljs

ayato_p 2015-09-09T20:26:38.000012Z

> 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_p 2015-09-09T20:27:29.000013Z

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

ayato_p 2015-09-09T20:29:32.000014Z

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