Re: [leiningen] Loading a profile by default
- Phil Hagelberg
- 2013-08-23 @ 16:00
Frazer Irving writes:
> This is designed to load a specific set of dependencies and a local
> source path when lein is called with a specific profile. IE
> lein with-profile db-es run
> This works well, but what I really want is for the db-es profile to be
> loaded by default when I run:
> lein run
You can redefine the :default profile to be a composition of all the
profiles you want active by default.
:default [:base :system :user :provided :dev :db-es]
It's best to just append your profile to the original list of defaults.