Phil Hagelberg
058a6061f5
Merge pull request #1163 from technomancy/issue-1154
...
Set *command-line-args* in lein run
2013-05-02 16:06:44 -07:00
Anthony Grimes
f4a50b744f
Set *command-line-args* in lein run.
2013-05-02 15:44:14 -07:00
Phil Hagelberg
01dd252b8a
Fix a bunch of tests from reorg-repl.
2013-05-02 14:12:58 -07:00
Phil Hagelberg
5adef11d33
Some more don't-warn-when-missing profiles.
2013-05-02 13:59:10 -07:00
Phil Hagelberg
086ab45ad3
Merge remote-tracking branch 'ryfow/memoize-get-dependencies'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2013-05-02 13:51:33 -07:00
Phil Hagelberg
c508badfd9
Add :repl to list of don't-warn-when-missing profiles.
2013-05-02 13:48:55 -07:00
Phil Hagelberg
02f1d5dc82
Merge branch 'reorg-repl'
...
Conflicts:
leiningen-core/src/leiningen/core/main.clj
leiningen-core/src/leiningen/core/project.clj
src/leiningen/repl.clj
2013-05-02 13:13:55 -07:00
Ryan Fowler
f613c40668
memoize get-dependencies
...
get-dependencies is expensive and sometimes gets called multiple times
with the same arguments. This pretty consistently knocks a couple
tenths of a second off of the extremely common
`lein repl < /dev/null`.
2013-05-01 17:26:35 -05:00
Colin Jones
d29614a7f0
Merge pull request #1159 from AtKaaZ/bootstrapPathsGet
...
get \leiningen-core\.lein-bootstrap paths properly in windows
2013-04-30 06:56:14 -07:00
AtKaaZ
9750e0ebb9
Handle folders with spaces in their names (under windows)
...
Show error message when parent folders(LEIN_ROOT) contain semicolon in
their names and require that .lein-bootstrap be recreated in this case.
Semicolon in files/folder names is not supported even though windows
allows such names.
2013-04-30 15:51:42 +03:00
Colin Jones
1c99645e19
Merge pull request #1158 from AtKaaZ/bootstrapTypo
...
bootstrap typo in lein.bat
2013-04-29 14:30:33 -07:00
AtKaaZ
2510ab24f0
get \leiningen-core\.lein-bootstrap paths properly in windows
...
else getting:
Error: Could not find or load main class clojure.main
this now allows compiling leiningen on windows successfuly
2013-04-29 23:54:15 +03:00
AtKaaZ
4bf8dcbd8d
bootstrap typo in lein.bat
2013-04-29 22:38:41 +03:00
Phil Hagelberg
a21c3f13fc
Merge pull request #1157 from qerub/master
...
Make error messages in project/read refer to correct file
2013-04-28 11:41:51 -07:00
Christoffer Sawicki
f20230c490
Make error messages in project/read refer to correct file
2013-04-27 23:53:19 +02:00
Colin Jones
4fe1b3df09
Update offline test metadata & run configuration
2013-04-27 12:15:24 -05:00
Colin Jones
9164c197d7
Don't bother trying to save the same source files
2013-04-27 12:15:24 -05:00
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