Commit graph

25 commits

Author SHA1 Message Date
Jakub Holy
0d7932f994 PROFILES.md: Tip to use composite profile
Sometimes we need to override *parts* of a prticular profile on a project-specific base. To a novice
lein user, it is likely not clear how to achieve this. This tip points her in the right direction -
using a composite profile with a "personal" part that can be overriden in `profiles.clj` to change
what is in the "common" part of the profile.
2014-04-24 08:27:15 +02:00
Jakub Holy
3fe00b2578 Update PROFILES.md 2014-04-23 13:27:04 +02:00
Jakub Holy
5abe5718bc PROFILES.md - be really explicit about overriding
While "Declaring Profiles" states that "Profiles specified in `profiles.clj` will override
profiles in `project.clj`," some less attentive reader can interpret it so that *keys/values* from profiles.clj override those from project.clj, not that the profile as whole is replaced. This changes
tries to make it really clear. (Of course feel free to change the wording as you see fit.)
2014-04-23 10:28:30 +02:00
Phil Hagelberg
fed957c72f Clarify a few points of documentation. Fixes #1475.
[ci skip]
2014-04-22 14:44:46 -07:00
Aaron Brooks
f5bea91dda Make "/etc/leiningen" profile inclusion clearer. 2013-12-04 15:54:41 -05:00
Patrick Shields
81562aefc4 Update dependency name in profile example
It looks like in cab18f6bfe the dependency changed from midje to expectations, but the explanation text still referred to midje.
2013-10-30 14:38:05 -04:00
Phil Hagelberg
4b099af5d1 Improve coverage of profiles in tutorial and profiles doc. 2013-08-12 17:15:40 -07:00
Phil Hagelberg
cab18f6bfe Mention +/- syntax and per-profile isolation in PROFILES.md. 2013-07-26 14:11:43 -07:00
Jean Niklas L'orange
66a6e2b2ef Update docs with semantic change for profiles.d
Ref fa602e807b.
2013-03-30 04:15:52 +01:00
Sergey Vinokurov
efc580dd79 Fix some typos 2013-02-21 22:03:56 +02:00
Jean Niklas L'orange
273544db08 Document profiles.d functionality. 2013-01-23 19:53:28 +01:00
Phil Hagelberg
f1b42bbde9 Remove swank from examples in profiles doc. Fixes #947.
[ci skip]
2013-01-21 20:41:19 -08:00
Phil Hagelberg
3b539495a4 Remove mention of preview from docs; use stable branch. 2013-01-19 20:39:43 -08:00
Hugo Duncan
3f08092d02 Update with-profile to accept +/- prefixes
Allow the profiles to be used to be specified as a delta from the default
profile list.
2012-11-26 14:54:08 -05:00
Phil Hagelberg
a418818a0a Typo in profiles doc; resource is actually singular.
[ci skip]
2012-10-23 15:56:07 -07:00
Colin Jones
0e8a8b9e18 Fix profiles doc example
fixes #825
2012-10-23 14:16:43 -05:00
Marshall T. Vandegrift
be6f571104 Document :provided profile. 2012-08-24 08:34:22 -04:00
Justin Balthrop
b41db4d03c use composite profiles for :default
You can now overide :default in your project.clj to change what profiles are
active when none are specified. As part of this change, default is no longer
used to for built-in settings; these are now stored in the :base profile.
This makes it possible to override :default while still including the :base
profile.
2012-07-18 17:37:19 -07:00
Justin Balthrop
cadfe5c92c add support for composite-profiles
if a profile value is a vector, then combine the values using
combine-profiles. this allows you to remove duplication by putting
shared configuration in "base" profiles.
2012-07-18 17:37:19 -07:00
Phil Hagelberg
980c55ad5a Fix profile merge explanation. 2012-07-11 22:07:08 -07:00
John Chijioke
2d0072fe49 some semantic changes, not sure I fully get what you mean in some cases like the last :default change. 2012-07-11 22:06:15 -07:00
Phil Hagelberg
a6659e15fa Documentation, news, todo updates. 2012-06-27 16:06:48 -07:00
Phil Hagelberg
a145841b8e Clarify that profiles.clj is just a map.
[ci skip]
2012-06-13 19:37:29 -07:00
Phil Hagelberg
aeb6a46883 Document do task. 2012-06-09 21:58:42 -07:00
Phil Hagelberg
dff9a6cf24 Spin off separate profile guide from readme/tutorial. 2012-05-24 18:26:46 -07:00