Phil Hagelberg
e25ad76ae6
Merge pull request #831 from bruceadams/quote-paths
...
Quote file paths: may contain spaces #828
2012-10-25 20:50:49 -07:00
Bruce Adams
c9d271c62b
Quote file paths: may contain spaces #828
2012-10-25 22:43:31 -04:00
Phil Hagelberg
a776cf5318
Merge pull request #830 from AtKaaZ/fixClassesPatch0
...
Pass default clojure.compile.path just like the bash script does
2012-10-25 17:26:42 -07:00
AtKaaZ
095a879390
Merge remote-tracking branch 'upstream/master' into fixClassesPatch0
2012-10-26 02:15:42 +02:00
AtKaaZ
f95a9ffba8
bring back lein.bat from LF to CRLF
2012-10-26 02:11:14 +02:00
AtKaaZ
6e237a8a64
fix for previous commit to allow spaces in folder names
...
ie. the passed path to -Dclojure.compile.path= should be inside
double quotes
2012-10-26 02:08:05 +02:00
Phil Hagelberg
753d40723d
clojure.walk strips metadata. Fixes #804 .
2012-10-25 17:03:53 -07:00
AtKaaZ
898aefb89c
Pass default clojure.compile.path just like the bash script does
...
should fix cases where uses of lein.bat
would cause the use of /classes/ folder instead of /target/classes/
which resulted in some classes not being found
ie. when compiling leiningen project from source
2012-10-26 01:43:15 +02:00
Phil Hagelberg
ede35f0f7c
Clarify how librelist works.
...
[ci skip]
2012-10-25 14:21:32 -07:00
Phil Hagelberg
dedb237dde
Don't use colon in filename in when-stale.
2012-10-25 11:41:59 -07: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
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