Fork me on GitHub

I might be able to do some lein run pomegranate stuff


Quick question… is there any easy way to tell what profiles are active from within the launched process?


is that something that is even theoretically knowable? lein can merge arbitrary profiles together with data on the fly.


well, the working set of profiles could be passed in as a JVM property or something, right? Because the profiles can’t change once lein has booted a JVM.


it seems like it's be more useful to write out/pass in the project.clj that resulted from all of the profile merges. Then you could write a profile predicate if you cared to test for a specific profile.


the way that profiles get combined, knowing that profileA and profileB were both active doesn't necessarily tell you that the features from profileA were included at runtime (profileB could overwrite them)