Phil Hagelberg
0d6aa48fc7
Update help task to use short summaries.
2010-11-23 10:55:39 -08:00
Phil Hagelberg
c546aaf907
Prevent repl task from exiting lein interactive.
2010-11-20 20:27:19 -08:00
Phil Hagelberg
6d291da490
Fix zero-arg run task case.
2010-11-20 17:25:06 -08:00
Phil Hagelberg
9a57aa246a
Nicer prompt interaction.
2010-11-20 17:12:00 -08:00
Phil Hagelberg
02fd437669
Better heuristic for when to close the socket in interactive tasks.
2010-11-20 17:12:00 -08:00
Colin Jones
9eecaf3fa0
Update plugin task's use of write-components to use new arity.
2010-11-20 15:01:45 -06:00
Phil Hagelberg
0c4e35c3dc
Clean up a few bits of socket handling in repl and interactive tasks.
2010-11-20 12:22:30 -08:00
Phil Hagelberg
9093c2a6be
Rebind clojure.test/*test-out* in test runs.
2010-11-20 12:22:30 -08:00
Phil Hagelberg
86da19e2b5
Fix bug in run task with no args.
2010-11-20 12:22:29 -08:00
Phil Hagelberg
7f96f5db8c
Connect to repl socket inside interactive task.
2010-11-20 12:22:29 -08:00
Phil Hagelberg
2bda774edc
Add :uberjar-exclusions to project.clj.
2010-11-20 12:22:29 -08:00
Colin Jones
d72f01b41a
Make plugin paths platform-independent.
2010-11-20 13:34:55 -06:00
Colin Jones
08522f89e5
Test plugin installation and create plugins dir where necessary.
2010-11-20 13:34:50 -06:00
Phil Hagelberg
af787577f3
Factor out make-build function.
2010-11-20 10:11:31 -08:00
Phil Hagelberg
1cb4421874
Move copy-out-loop into repl-client.
2010-11-19 21:14:07 -08:00
Phil Hagelberg
96423b44b3
Use a platform dependent nullsink in test.
2010-11-19 20:12:29 -08:00
Matjaz Gregoric
f8974186e2
Don't install .bat files on Unix.
2010-11-19 20:12:29 -08:00
Phil Hagelberg
cb51f6eb09
Support :repl-options in project.clj.
2010-11-19 19:21:30 -08:00
Phil Hagelberg
87753f890f
Include :all test selector by default.
2010-11-18 21:53:09 -08:00
Phil Hagelberg
a6d0a174df
I love reduce, but it's not appropriate here.
2010-11-18 21:40:02 -08:00
Phil Hagelberg
c85aaf83a5
Merge remote branch 'mtyaka/windows-updates'
...
Conflicts:
src/leiningen/jar.clj
test/test_jar.clj
2010-11-18 21:21:05 -08:00
Matjaz Gregoric
1b2e9703d3
Print an error message when plugin uninstall fails.
...
Windows is strict when it comes to file locking
and so doesn't let leiningen delete its own plugin jar files.
Print an error message when uninstallation fails.
2010-11-18 11:09:53 +01:00
Matjaz Gregoric
6b6a30a148
Use a platform dependent tmp folder.
2010-11-18 11:09:51 +01:00
Matjaz Gregoric
0a6ec18e0d
Add support for windows .bat wrappers.
2010-11-18 11:09:48 +01:00
Matjaz Gregoric
09e4881bd0
Set working directory in eval-in-project.
...
Not setting it can lead to some hard to debug test failures
when a previously set working directory of lancet/ant-project is used.
2010-11-18 11:09:46 +01:00
Matjaz Gregoric
412cad7fdc
Make sure paths in the shell wrapper are unix-style.
2010-11-18 11:09:45 +01:00
Matjaz Gregoric
2fe29e52a9
Work around a RuntimeMXBean bug.
...
RuntimeMXBean.getInputArguments is buggy when an input argument contains spaces.
For an input argument of "-Dmyprop=hello world" it returns two arguments, split at the
space: "-Dmyprop=hello" and "world".
This causes eval-in-project to fail in spectacular ways when leiningen.original.pwd
contains spaces or when path to the clojure jar that gets passed to -Xbootclasspath
contains spaces (which it does by default on Windows XP).
2010-11-18 11:09:44 +01:00
Matjaz Gregoric
1c166b15e5
Use a more portable way of getting user's home folder.
2010-11-18 11:09:42 +01:00
Matjaz Gregoric
f4d254e04c
Use windows-style paths when running on windows.
...
This makes path handling easier and fixes a failing test on windows.
2010-11-18 11:09:41 +01:00
Phil Hagelberg
682b514052
Place user plugins after lib/ on the classpath.
...
User plugins are uberjars now, so if you had swank-clojure in
~/.lein/plugins you were locked to its version of Clojure, etc.
2010-11-13 11:16:49 -08:00
Phil Hagelberg
f41c5af1ac
Fix jar task for projects with no dependencies. Fixes #123 .
2010-11-13 11:03:01 -08:00
Phil Hagelberg
e75c6d32b1
Better unquote testing.
2010-11-11 21:37:09 -08:00
Phil Hagelberg
26f315fbc2
Deprecate :jar-dir in favour of :target-dir.
2010-11-11 10:37:00 -08:00
Phil Hagelberg
742738d9d2
Fix unquote-project to preserve forms in test-selectors.
2010-11-10 14:05:42 -08:00
Phil Hagelberg
38347be0fc
Allow test selectors and namespaces to be specified in the same run.
2010-11-10 13:10:49 -08:00
Phil Hagelberg
51fd53b8b1
Show exceptions reading test namespaces. Fixes #127 .
2010-11-09 13:08:29 -08:00
Phil Hagelberg
d176fa348f
Fixes for bootstrap classpath in :eval-in-leiningen.
2010-11-09 13:07:21 -08:00
Phil Hagelberg
589b38b4ff
Factor out read-args function in test task.
2010-11-08 13:36:58 -08:00
Phil Hagelberg
86b281eb14
Better error message when you don't nest dependencies correctly.
...
Thanks to abedra for "reporting" this bug. =)
2010-11-08 13:34:55 -08:00
Phil Hagelberg
acf9b100e1
Don't need to generate "Installation" section in skeleton readme.
2010-11-08 13:34:36 -08:00
Phil Hagelberg
89f2a77a7a
Documentation updates in preparation for 1.4 release.
2010-11-07 15:51:44 -08:00
Phil Hagelberg
5182797f86
Fall back to Clojure 1.2 until bootclasspath issues are resolved.
2010-11-07 13:44:31 -08:00
Phil Hagelberg
b505cba346
Remove usage of handler arg in test task.
2010-11-03 21:58:04 -07:00
Phil Hagelberg
d88165ae9c
Deprecate unused eval-in-project arguments.
2010-11-03 21:18:37 -07:00
Phil Hagelberg
a3255e5aba
Switch from :test-resources-path to :dev-resources-path; deprecate former.
2010-11-02 22:07:30 -07:00
Phil Hagelberg
4274e6dcad
Deprecation notice for :namespaces in project.clj.
2010-11-02 22:06:56 -07:00
Phil Hagelberg
9cf394649a
Clarify unclear docstring for run task.
2010-11-02 21:48:17 -07:00
Phil Hagelberg
e66622a8e2
Fix post-AOT cleanup to use package-based deletion heuristic.
...
We had it so every .class file had to correspond with a .clj file in
src/, but sometimes there are outliers that don't match up. So instead
we now ensure that there's a directory in src/ that matches the
package of each .class file.
2010-11-02 21:45:15 -07:00
Joe Gallo
b837ebc20a
Changed error message when missing required project.
2010-11-02 10:46:24 -04:00
Colin Jones
4af798d959
Allow :dev-dependencies without :dependencies.
2010-10-31 13:41:28 -04:00