Skip to content

Commit

Permalink
Add :project profile to PROFILES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoduncan committed Sep 4, 2014
1 parent 831d2cf commit 5b4cda6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/PROFILES.md
Expand Up @@ -13,6 +13,9 @@ profiles are activated for each task, but their settings are not
propagated downstream to projects that depend upon yours. Each profile
is defined as a map which gets merged into your project map.

The `:project` profile is activated for each task, and its settings
are propagated downstream to projects that depend upon yours.

You can place any arbitrary key/value pairs supported by `defproject`
into a given profile and they will be merged into the project map when
that profile is activated.
Expand Down Expand Up @@ -154,8 +157,8 @@ This can be used to avoid duplication:
Composite profiles are used by Leiningen internally for the `:default`
profile, which is the profile used if you don't change it using
`with-profile`. The `:default` profile is defined to be a composite of
`[:base :system :user :provided :dev]`, but you can change this in your
`project.clj` just like any other profile.
`[:base :system :user :provided :project :dev]`, but you can change
this in your `project.clj` just like any other profile.

## Using Functions

Expand Down

0 comments on commit 5b4cda6

Please sign in to comment.