Hi all, I just create a simple leon-template to create CLJS libs with batteries included:
- separation of concerns between the user view and the dev view of the created lib (obtained by using the profiles.clj local to the project - http server and brepl (with piggieback by Chas) to bREPLing with the project (everything is kept separated in the profiles.clj) - unit test lib included (clojurescript.test by Chas) - compilatation included of each build optimisation - test-command already defined for phantoms - and few other minutiae I also started to write a quick README to use it. https://github.com/magomimmo/cljs-start Here is a very quick start lein new cljs-start your-project cd your-project lein compile lein test To connect with the browser lein repl >(require '[ring.server :as http]) > (http/run) > (browser-repl) Now visit localhost:3000 and wait a moment to go back to repl cljs.user> (cemerick.cljs.test/run-all-tests) To generate the jar lein jar Everything is just started, so be benevolent with me. Feedback are appreciated, even the bad ones. HIH mimmo -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
