Commit graph

41 commits

Author SHA1 Message Date
Daniel Compton
1fad7043b6 Add docs for providing :jvm-opts 2016-01-22 09:05:35 +13:00
Jean Niklas L'orange
c6b559ddb5 bump some hidden nrepl deps, ref #2017 2015-11-01 23:57:53 +01:00
Yen-Chin Lee
205664426a Fix typo on PROFILES.md
The :resource-paths is mispelled in :resources-path.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-10-13 13:44:51 +08:00
Jean Niklas L'orange
47c6994fa4 Document how to replace default repl dependencies
Closes #1795
2015-08-08 16:28:13 +02:00
Andy Fingerhut
b4602d4a4b Correct relative priority of profiles.clj and project.clj in Merging docs 2014-12-15 20:32:04 -08:00
Phil Hagelberg
9a0448041a Rename :core-default to :leiningen/default. 2014-09-09 16:24:12 -07:00
Hugo Duncan
2da05e6356 Add profile metadata
Adds :leaky and :pom-scope metadata for profiles.  The :dev, :test,
:base and :provided profiles are implemented in terms of these.

Profiles with :leaky metadata affect the pom and jar creation.

Profiles with a :pom-scope metadata of :test or :provided also affect
the dependencies of a pom.
2014-09-09 13:27:49 -04:00
Phil Hagelberg
c8806ff12e Revert addition of :downstream profile.
We need to revisit this in a way that doesn't involve hard-coding
profile names into the jar and pom tasks. The question of whether the
profile should be visible to downstream consumers should be determined
by data that's part of the profile (or metadata).
2014-09-08 10:05:21 -07:00
Phil Hagelberg
e434741df3 Improve docs for default profiles. 2014-09-05 20:24:29 -07:00
Phil Hagelberg
0a8c0aaee6 Rename :project profile to :downstream. 2014-09-05 20:24:06 -07:00
Hugo Duncan
a83aefe6cc Expand builtin profile docs in README 2014-09-04 15:20:08 -04:00
Hugo Duncan
5b4cda662a Add :project profile to PROFILES.md 2014-09-04 08:43:50 -04:00
Jean Niklas L'orange
b9dced16d5 Clarify what "last one" means for profile override
Re: #1646
[ci-skip]
2014-08-17 23:43:14 +02:00
Phil Hagelberg
798873d467 Merge pull request #1611 from techwhizbang/master
read-eval example provided in PROFILES.md
2014-07-24 13:25:04 -07:00
Nick Zalabak
60e4ef856c read-eval example provided in PROFILES.md 2014-07-24 12:24:30 -07:00
Stuart Hinson
ba276eea4f remove unnecessary quote escaping in composite profile example 2014-06-01 13:00:10 -04:00
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