Commit graph

3289 commits

Author SHA1 Message Date
Nelson Morris
b9506555f2 Add warnings when some dependencies are ignored for deps :tree
Pull out the range transformer into its own project to be
used in other places with pomegranate.
Extend it to also warn for when dependencies are

1) top level and ignored (due to version range)
2) transative and ignored due to a lower version earlier in the chain

Currently this does not provide any instruction of how to change
the project.clj to remove the warnings.
2013-04-24 00:11:20 -04:00
Michael Klishin
0dab883ec0 Merge pull request #1147 from joelittlejohn/template-executable
Add support for executable files to 'lein new' templates
2013-04-16 14:29:50 -07:00
Joe Littlejohn
c78c7f7165 Add support for executable files to lein new templates
Paths that are marked with the additional option `:executable true`
will be set executable when template files are rendered.

Fixes #976.
2013-04-16 22:09:19 +01:00
Phil Hagelberg
532681dc40 Merge pull request #1146 from bendlas/patch-1
Rename `hooks` to `activate` in hooks code sample
2013-04-15 09:38:18 -07:00
bendlas
deba9c59ae Rename hooks to activate in hooks code sample
I'm not sure, if `hooks` was there on purpose, but if it was, it would need additional explainations.
2013-04-15 17:16:34 +03:00
Colin Jones
f0582e2314 Escape quotes for Java versions below 7
See http://gluck-md.blogspot.com/2012/12/jdk7-surprise.html

fixes #1121
2013-04-14 21:03:57 -05:00
Colin Jones
e6529bc5da Allow bootstrap from batch file 2013-04-14 21:00:08 -05:00
Colin Jones
0d6a7a70cc Stop pretending shell is a reasonable language 2013-04-12 16:07:40 -05:00
Colin Jones
0d19edb0cc Handle cygwin jline issues
fixes #850
2013-04-12 15:24:34 -05:00
Colin Jones
1f6ce39712 Isolate OSTYPE checks for cygwin a bit 2013-04-12 15:19:00 -05:00
Phil Hagelberg
7ef8170aea Back to 2.2.0-SNAPSHOT. 2013-04-12 10:16:37 -07:00
Phil Hagelberg
eccd23d062 Release 2.1.3 2013-04-12 10:02:18 -07:00
Phil Hagelberg
8943e023cf News updates for 2.1.3. 2013-04-12 09:55:13 -07:00
Michael Klishin
6a66619978 Merge pull request #1145 from malcolmsparks/fix-lein-fast-trampoline
Fixes issue 1144.
2013-04-12 06:12:08 -07:00
Malcolm Sparks
dea089e6c0
Fixes issue 1144. The fast trampoline functionality now works properly in the absence of a .lein/profiles.clj file. 2013-04-12 13:11:15 +01:00
Phil Hagelberg
6714930c01 Fix copy-to-jar duplicate checking for directories. 2013-04-11 11:13:34 -07:00
Phil Hagelberg
f500bd19c6 Document :middleware in sample project. 2013-04-11 11:12:23 -07:00
Marko Topolnik
277b25b698 Adapt tests to code change 2013-04-11 10:13:23 +02:00
Marko Topolnik
7d820c68fa Don't read directly from user profile 2013-04-11 10:04:24 +02:00
Marko Topolnik
774983bdf6 Merge comments from master 2013-04-11 09:59:46 +02:00
Marko Topolnik
fa95200da0 Don't explicitly check user profile in repl task
it should have already been merged
2013-04-10 14:54:29 +02:00
Marko Topolnik
26cb21935b Revert "project.clj setting overrides profile setting" 2013-04-10 14:25:59 +02:00
Marko Topolnik
f19eeeb746 Populate project-map meta when outside project
// cherry-picked from master
2013-04-10 13:48:02 +02:00
Marko Topolnik
3fd978a21e Fix merge-profiles call 2013-04-10 13:18:58 +02:00
Marko Topolnik
7a7e7fb623 project.clj setting overrides profile setting
// fixes #1128
2013-04-10 12:19:52 +02:00
Marko Topolnik
ea29210d23 Populate project-map meta when outside project
// fixes #1129
2013-04-10 12:08:26 +02:00
Michael Klishin
7d782e6173 Merge pull request #1137 from technomancy/use-newline
Use platform-specific newline. Fixes #987
2013-04-08 13:05:26 -07:00
Max Prokopiev
1725fc0af9 Use platform-specific newline. Fixes #987 2013-04-09 00:02:08 +04:00
Marko Topolnik
3f4e64f888 Support :ack-port config option 2013-04-05 12:21:51 +02:00
Nelson Morris
df5528d916 Fix version range check for cyclic dependencies
Some dependendency graphs can have cycles, and we need to break out.
In this case, we'll just check the list of nodes so far on this path for
the current node.  If its found then we have a cycle, so we can
stop checking for version ranges in children.

Fixed #1127
2013-04-04 22:26:30 -05:00
Michael Klishin
2e8e08e619 Merge pull request #1131 from laurentpetit/master
ack port for repl :headless
2013-04-04 09:39:24 -07:00
Laurent Petit
f41ddcae9a repl task: use specified ack ports in :headless subcommand 2013-04-04 17:24:58 +02:00
Jean Niklas L'orange
95992a5bb2 Print doc for aliases if provided, closes #1116. 2013-04-04 16:06:02 +02:00
Jean Niklas L'orange
2f69f71aee Merge pull request #1126 from MichaelDrogalis/master
Updated sample project.clj
2013-04-03 17:10:50 -07:00
Michael Drogalis
e5e55edef0 Update sample project.clj to use Clojure 1.5.1 2013-04-03 20:58:27 -03:00
Jean Niklas L'orange
18ab31d683 Merge pull request #1125 from bdollard/master
fix for #1123: allow mirrors to get credentials from credentials.clj.gpg
2013-04-03 12:21:42 -07:00
bdollard
3debae78c0 fixes #1123: mirrors can get credentials using gpg 2013-04-03 14:06:19 -04:00
Phil Hagelberg
11b7e6b559 Add no-proxy to news.
[ci skip]
2013-04-03 09:05:40 -07:00
Jean Niklas L'orange
7052d998ee Merge branch 'improve-update-in'
Conflicts:
	src/leiningen/update_in.clj
	test/leiningen/test/update_in.clj
2013-04-03 16:39:38 +02:00
Marko Topolnik
4280f2bb1f update-in: use resolve-and-apply (honor aliases) 2013-04-03 16:32:22 +02:00
Jean Niklas L'orange
ba79abe22a We always forget this, for some strange reason. 2013-04-03 16:31:11 +02:00
Marko Topolnik
d1f024b21f update-in: improve docstring 2013-04-03 16:31:11 +02:00
Marko Topolnik
f30e2ee9de update-in: vary meta project :without-profiles 2013-04-03 16:31:11 +02:00
Marko Topolnik
88a3d563e3 Add resolve-and-apply to main and use it
Fixes #1120
2013-04-03 16:22:06 +02:00
Marko Topolnik
0908397422 Add resolve-and-apply to main and use it
Fixes #1120
2013-04-03 16:20:32 +02:00
Marko Topolnik
5e0ac82a74 update-in: improve docstring 2013-04-03 15:11:13 +02:00
Marko Topolnik
cd906e6bf0 update-in: vary meta project :without-profiles 2013-04-03 15:06:38 +02:00
Michael Klishin
81fb062a95 Merge pull request #1118 from djpowell/quotes-around-download
Allow for spaces in download locations
2013-03-31 08:36:30 -07:00
David Powell
bd9e2e2550 Allow for spaces in download locations 2013-03-31 16:13:27 +01:00
Jean Niklas L'orange
95185a9b0a Improve error messages when reading user profiles.
Also associates :origin to the file the user profile were defined in,
and tags it within its metadata.
2013-03-30 16:36:21 +01:00