Commit graph

758 commits

Author SHA1 Message Date
Phil Hagelberg
3c5fecfe98 Fix path issue in javac task. Fixes #138. 2010-11-23 20:11:58 -08:00
Phil Hagelberg
11d81c9092 Link to stable documentation instead of master. 2010-11-23 10:56:51 -08:00
Phil Hagelberg
b44bd14118 Use latest Hooke. 2010-11-23 10:56:12 -08:00
Phil Hagelberg
0d6aa48fc7 Update help task to use short summaries. 2010-11-23 10:55:39 -08:00
Phil Hagelberg
6f517d0af2 Fix test to reflect run task bugfix. 2010-11-21 20:59:25 -08:00
Phil Hagelberg
7a3054cb33 Mention interactive task and getting slimed in tutorial. 2010-11-20 22:22:56 -08:00
Phil Hagelberg
26d7631486 Release 1.4.0-RC2. 2010-11-20 20:42:32 -08:00
Phil Hagelberg
419a333f14 Mention interactive task speedup in faq. 2010-11-20 20:37:36 -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
c749a497aa Update version numbers in tutorial, for kicks. 2010-11-20 10:12:52 -08: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
Matjaz Gregoric
da8f0858b5 Replace tabs with spaces. 2010-11-19 20:12:28 -08:00
Matjaz Gregoric
6b14ccd6bd Convert the original pwd to windows style when on cygwin. 2010-11-19 20:12:28 -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
e85e3901ee Doco updates. 2010-11-18 21:39:44 -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
Phil Hagelberg
69ee0273b8 Solaris compatibility; thanks Licenser. 2010-11-18 20:32:22 -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
f227cd5d88 Modify script-template to be able to run on cygwin. 2010-11-18 11:09:49 +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
Matjaz Gregoric
d0098d7ec5 Let the test! task run under lein.bat.
Due to delayed expansion enabled, the bang would get lost and
test! would get interpreted as test.
Fix this by disabling delayed expansion before running the command.
2010-11-18 11:02:31 +01:00
Matjaz Gregoric
ac90018d70 Use the -Xbootclasspath trick in lein.bat.
This cuts lein startup time from 2.5 seconds
down to 1.5 on Vista.
2010-11-18 11:02:30 +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
a50cef373d bin/lein placement notes. 2010-11-10 20:49:45 -08:00
Phil Hagelberg
ba3d4db49f Don't allow JLINE env var to mess up lein run. Fixes #131. 2010-11-10 14:06:30 -08:00