reagent-project / reagent-template

A Leiningen template for projects using Reagent.
MIT License
394 stars 55 forks source link

Restructure template to allow multiple profiles (cljx, lib/app, barebone, etc) #17

Open Frozenlock opened 9 years ago

Frozenlock commented 9 years ago

Any ideas on how to do this in a way that won't become a mess after only 2-3 profiles?

yogthos commented 9 years ago

What I've been doing with Luminus, is make sure that profiles do not conflict with one another in terms of functionality. That way we can mix and match any of the profiles safely. I also wouldn't expect having more than 2-3 profiles in practice as well to be honest.

Frozenlock commented 9 years ago

I've been playing around with component recently and found a template built in a way to re-use many little components.

https://github.com/juxt/modular/blob/master/lein-template/resources/manifest.edn

It might be over-designing it (it's just a template after all), but I found the architecture intriguing.

yogthos commented 9 years ago

That is a neat idea actually, it also opens up the option of making plugins as separate libraries which would be very cool. :)