Am Samstag, 20. Dezember 2014 12:03:51 UTC+1 schrieb Arnaud Bailly: > On Sat, Dec 20, 2014 at 12:42 AM, Sven Richter <[email protected]> > wrote:Hi Arnaud, > > I had a good time with the chestnut template: > https://github.com/plexus/chestnut > > > thanks a lot for the pointer sven, will definitely have a look at it and get > some inspiration from it. Cannot use it asis because I do not use clojure as > backend.
There is no need, just take the cljs related things from it. It basically does what was suggested here already. Using optimizations :none for development and injecting some extra html code for this mode. > I don't know about tests, but thats a different topic I guess. > > > > > > You don't write tests for your clojurescript? You use the REPL to interact > with the application until satisfied? Or work in the debugger? Disclaimer: I use clj / cljs only for my private projects and learning. And yes, I did not write cljs tests yet. I don't say one does not need cljs tests, however, setting this up and using phantomjs seemed to much of a burden for me for fun projects. Of course, if something goes into production I strongly advise to have tests for it, which you obviously seem to follow anyway. However I recently started using cljx in one of my projects and was pleased to find that I can unit test them like clojure code, which I did in some cases. Best Regards, Sven Am Samstag, 20. Dezember 2014 12:03:51 UTC+1 schrieb Arnaud Bailly: > On Sat, Dec 20, 2014 at 12:42 AM, Sven Richter <[email protected]> > wrote:Hi Arnaud, > > I had a good time with the chestnut template: > https://github.com/plexus/chestnut > > > thanks a lot for the pointer sven, will definitely have a look at it and get > some inspiration from it. Cannot use it asis because I do not use clojure as > backend. > > > It is no magic bullet, but generates a leiningen project with front and > backend with some sane defaults for development and production. > > I don't know about tests, but thats a different topic I guess. > > > > > > You don't write tests for your clojurescript? You use the REPL to interact > with the application until satisfied? Or work in the debugger? > > > I have been test-infected for several years now so developing a piece of code > without first writing a test is really something painful to me. But I can > understand people are productive and efficient doing otherwise, and would > like to know better. Might be related to my lack of (recent) experience and > interest with front-end dev... > > > > > Another player in the boat might be the build tool boot. I have not tried it > yet, but it seems like it does provide good defaults too for dev / production > environments. > > > > > > Yes. A friend of mine also pointed me at this on the french ML. > > > Regard, > Arnaud -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
