dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
superstructor 2017-01-13T00:17:37.001460Z

Thanks for your incredible work on Dirac @darwin ! Weโ€™re using 1.0.0 as of today and working fine. Its second only to ClojureScript itself in terms of its importance to our development tooling.

2017-01-13T00:19:02.001461Z

Iโ€™m glad you find it useful, thanks @superstructor

๐Ÿ‘ 3
2017-01-13T07:10:05.001469Z

is it possible to setup Dirac using only your ~/.lein/profiles.clj ?

2017-01-13T07:10:13.001470Z

or do you have to add some options to a project.clj ?

2017-01-13T12:53:11.001471Z

@biscuitpants I think some of the configuration can be moved to profiles.clj, but not all and it depends on your project structure if you look at https://github.com/binaryage/dirac/blob/master/docs/installation.md, there are basically 3 steps: 1) add dirac dependency to project.clj 2) setup your code to call dirac.runtime/install! 3) setup :repl-options for your repl to start Dirac Agent as well I believe 1) and 3) can be put into profiles, 2) is tricky, because you have to add it as a preload, which would mean that your profiles file would have to assume particular cljs-build structure in your project.clj, or you have to add it as as code, and then your project code would assume the dependency was included, which might be not obvious form step 1) being in profiles

2017-01-13T12:53:44.001473Z

ah okay, so its not as straight forward as just adding the dep and the preloadas

2017-01-13T12:53:47.001474Z

preloads*

2017-01-13T12:53:56.001475Z

well, that is alright ๐Ÿ™‚ its a pretty large project, so i understand that

2017-01-13T12:55:00.001476Z

I can imagine writing more involved code for 2) which would via a macro detect if dirac dependency is present, if yes it would emit dirac.runtime/install! call