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
Phil Hagelberg
ecdc783f2d
repl task needs to disable pumping *in*.
2012-10-23 10:44:43 -07:00
Phil Hagelberg
abb9e44f56
Pump *in* to subprocesses as well.
...
There was a good reason we couldn't support this in earlier versions
of Leiningen, but it escapes me now. Perhaps it doesn't work on old
JDKs or there are platform-specific issues or something?
2012-10-23 09:53:30 -07:00
Phil Hagelberg
eab8276a96
Clarify that project-level tasks are usually unnecessary.
2012-10-23 08:22:13 -07:00
Anthony Grimes
43a5af1356
Add a test for :only selector.
2012-10-20 18:03:16 -05:00
Anthony Grimes
d67157b1fe
Rename cmd-selectors to given-selectors.
2012-10-20 17:52:49 -05:00
Anthony Grimes
cb81910b9b
Remove an old comment.
2012-10-20 17:52:49 -05:00
Anthony Grimes
6816de0dfa
Use destructuring to clean things up a bit.
2012-10-20 17:52:49 -05:00
Anthony Grimes
dc14cb7e8a
Implement partial selectors and add a new default selector, :specific.
...
:specific is for running specific tests.
2012-10-20 17:52:49 -05:00
Anthony Grimes
308f6cb74c
Remove legacy arg.
2012-10-20 17:52:49 -05:00
Phil Hagelberg
720a61ae65
Fix some typos in eval.clj tests.
...
[ci skip]
2012-10-20 15:02:34 -07:00
Phil Hagelberg
cf3f5b8f61
Merge pull request #819 from uvtc/patch-1
...
doc/tut: various minor updates
2012-10-15 11:15:57 -07:00
John Gabriele
fafcdb7f47
remove mention of github as typ values for :url
2012-10-15 15:09:20 -03:00
John Gabriele
15c8850006
changed to keep preferred tag-line
2012-10-15 15:05:19 -03:00
John Gabriele
ad1f92555c
doc/tut: various minor updates
...
Some wording tweaks at the top, formatting and addition to the list of things lein does.
2012-10-15 14:48:08 -03:00
Michael Klishin
c7056f2b44
Merge pull request #818 from kingtim/repl-init
...
add :repl-options :init into headless startup
2012-10-11 07:36:22 -07:00
Michael Klishin
c35451ab6b
Merge pull request #817 from wlabelle/git-file-fix
...
Fixed problem with building a project when .git is a file
2012-10-11 07:29:16 -07:00
Wayne LaBelle
b1cf3557d1
Fixed problem with building a project when .git is a file
...
Submodules cloned with git version >1.7.8 use a file for .git that
references a directory in the superproject's .git directory. Added
support for parsing the gitfile.
2012-10-11 10:17:52 -04:00
Tim King
d576345488
add :repl-options :init into headless startup
2012-10-11 06:47:36 -07:00
Michael S. Klishin
14112e2396
Add sample.project.clj to the docs section
2012-10-10 22:43:26 +04:00
Michael S. Klishin
4fa14b0bf6
New README section: documentation
2012-10-10 22:42:32 +04:00
Phil Hagelberg
94c2c15a84
The name of the directory is irrelevant in checkouts.
2012-10-10 11:28:30 -07:00
Michael S. Klishin
590a4e1b51
A typo
2012-10-10 22:16:25 +04:00
Michael S. Klishin
12856b5c19
Move checkout deps documentation to the tutorial, expand it with examples, change wording
2012-10-10 22:16:16 +04:00
Phil Hagelberg
329b4b7fa6
Un-deprecate :auth profile since full-disk encryption is a good use case for it.
2012-10-10 10:04:30 -07:00
Phil Hagelberg
96e02b9ca1
Alias lein help project.clj
to lein help sample
.
2012-10-10 09:35:24 -07:00
Phil Hagelberg
79d001c26f
Add mixed projects to lein help static content.
2012-10-10 09:35:05 -07:00
Phil Hagelberg
bf50b253ec
Mention other languages in mixed-projects.
2012-10-10 09:28:24 -07:00
Phil Hagelberg
67bbd4b97b
There's nothing wrong with re-using :source-paths for java.
2012-10-10 09:26:44 -07:00
Michael S. Klishin
cf4c049970
New documentation guide: mixed Clojure/Java projects
2012-10-10 04:33:16 +04:00
Justin Balthrop
eda91bdf05
Merge pull request #810 from technomancy/last-wins
...
change with-profile from first-wins to last-wins
2012-10-09 13:10:26 -07:00
Justin Balthrop
5893c1406a
keep track of :active-profiles when merging
...
This is a list of all named profiles that have been merged in, after
following composite profile. This is different from :included-profiles
which is the list of profiles before composite profiles have been
expanded.
2012-10-08 18:27:40 -07:00
Justin Balthrop
0e02ad7164
switch with-profile to last-wins
...
This patch switches with-profile so that the last profile specified
wins. This is more in line with the way clojure.core/merge works.
For more info, see:
http://librelist.com/browser/leiningen/2012/9/12/changing-with-profile-from-first-wins-to-last-wins/#ff32b118546fa95d0960f2247e190c18
2012-10-08 18:27:40 -07:00
Justin Balthrop
9f37f53c5e
move dependency and repository merging into meta-merge
...
This is accomplished with the :reduce metadata, which specifies the
reduce function to use when merging. This allows us to merge
dependencies and repositories deeply like other structures. Note that
dependencies are transformed into a map before they are merged and then
transformed back into a vector.
Also change the way that collections are merged. They used to be merged
by taking the right collection and prepending it to the left collection.
This behavior was needed for :*-paths in defproject, but it is not an
obvious default. Now, the default is to append the right collection, but
the :prepend metadata can be used to tell meta-merge to prepend instead.
By default, :source-paths, :resource-paths and :test-paths have :prepend
set to true.
2012-10-08 18:27:40 -07:00
Justin Balthrop
5b76a2eb6a
add leiningen.core.project/make
...
Move some defproject logic out of the macro into project/make.
2012-10-08 16:45:35 -07:00
Justin Balthrop
11037d7ddb
rename profile-key-merge to meta-merge
2012-10-08 16:10:38 -07:00
Justin Balthrop
d24e36a63b
move hooke-injection closer to where it is used
2012-10-08 15:46:51 -07:00
Phil Hagelberg
fd759e6cc1
Merge pull request #807 from technomancy/mk-tutorial-improvements
...
Minor tutorial improvements
2012-10-06 15:48:30 -07:00
Michael S. Klishin
c5de124677
Minor tutorial improvements
2012-10-07 02:16:40 +04:00
Phil Hagelberg
7adb435ca7
Merge pull request #803 from tobias/help-for-subtasks
...
Support subtask specific help via 'lein help task subtask'
2012-10-05 14:53:54 -07:00
Tobias Crawley
6998dd6929
Support subtask specific help via 'lein help task subtask'
...
The help task will first look for static help under
'leiningen/help/task-subtask', then for a function name 'help-subtask' in the
subtask's namespace, then a docstring on the subtask function. For the latter
two options, the arglists are also printed.
2012-10-05 14:37:58 -04:00
Chas Emerick
102dcadf9f
docs update for changes to resolution of repository credentials (gh-768)
2012-10-05 06:26:50 -04:00
Chas Emerick
b06a04593a
re-add support for :creds :gpg, add warning for anyone using e.g. :username :gpg to get all creds for a repo (gh-768)
2012-10-05 06:14:13 -04:00
Chas Emerick
268d723796
Add support for:
...
* namespaced keywords to control lookup of credentials in env vars
* using a vector to define a number of credential sources to be checked in series
(gh-768)
2012-10-05 06:09:54 -04:00
Phil Hagelberg
856207caf0
Load plugins in set-profiles. Fixes #772 .
2012-10-04 16:24:36 -07:00
Phil Hagelberg
929b09c1ba
Allow repl profile to be overridden from project.clj. Fixes #789 .
2012-10-04 10:22:22 -07:00
Phil Hagelberg
ff0e95baf0
Debug output in apply-task.
2012-10-04 09:36:21 -07:00
Phil Hagelberg
b5dc41a682
Fix repl tests.
2012-10-04 09:26:14 -07:00
Phil Hagelberg
d23d9293fb
Improve trampoline help.
2012-10-04 09:23:25 -07:00