Closed arichiardi closed 7 years ago
Until this commit is merged, is there anyway to specify a :main value? Specifying a symbol directly seems to cause other errors.
Try a symbol with no tick, Juho will merge this soon I think.
That didn't work either. Well I guess I'll wait till this get merged.
I'm porting the luminus template to Boot, but I need this fix in place in order for it to work the same as the lein template does. Since I know it can be some time between merge and release to clojars, would it be possible to get this merged, so I can at least tell people to install from the master branch for testing, rather than a PR?
Merged and released. Btw. I've been using symbol value, that definitely works even without this change. Also, this wasn't a problem with previous versions as support for :main
option was added in this release.
Thanks for the quick response!
I did try using a symbol, maybe I had a different issue and blamed it on the :main value (cljs docs say to just use strings, so I assumed anything else wasn't supported). In that case, sorry to be a pest.
This avoids triggering a ClassCastException when trying to use values from the requires sorted set: string :main is a valid value and will always be converted.