Commit graph

376 commits

Author SHA1 Message Date
Phil Hagelberg
553eed84cc Make aliases an atom so plugins can change it. 2010-06-05 13:24:04 -07:00
Phil Hagelberg
7c37750bb9 Suppress annoying ant [null] prefix on all output. 2010-06-04 09:09:35 -07:00
Phil Hagelberg
ab70dbeeef Also don't try to read the test results doc if it's empty. 2010-06-02 15:26:38 -07:00
Phil Hagelberg
8667bac839 Don't try to read the test results doc if it doesn't exist. 2010-06-02 14:48:42 -07:00
Phil Hagelberg
e874ddfb96 Updated NEWS. This is going to be a big release. 2010-05-28 09:05:40 -07:00
Phil Hagelberg
ad237271c4 Include arglists in task help output. 2010-05-27 13:08:44 -10:00
Phil Hagelberg
ee96d8e24c Traverse up the current directory's ancestors to find project root. 2010-05-27 12:54:43 -10:00
Phil Hagelberg
c99d4b5fd8 Make inter-task dependencies honor hooks. 2010-05-27 12:27:40 -10:00
Phil Hagelberg
0f49979eca Allow leaving the repl with ctrl-d. 2010-05-27 12:15:32 -10:00
Phil Hagelberg
18d5290f93 Poll for repl startup.
Still some prompt I/O wackiness with evaling long-running forms.
2010-05-27 11:49:34 -10:00
Phil Hagelberg
f7cf22c010 3/4 of the way to a working socket-based repl task. Take that, Ant! 2010-05-27 11:23:11 -10:00
Phil Hagelberg
5f237bee62 Don't shutdown agents in core; test task can handle that. 2010-05-27 08:43:20 -10:00
Phil Hagelberg
ee7c2da6d1 Default to EPL for new projects. Change it if you like.
There've been a few lein-generated projects that simply omit licensing
data, which is really not a good idea. I'd rather have a sane default
since changing the license is no more bother than adding one.
2010-05-27 08:43:02 -10:00
Phil Hagelberg
cf37e9ca6e Exit subprocess after writing test summary. 2010-05-22 16:56:21 -10:00
Phil Hagelberg
a927403e8e Remove call to flatten. 2010-05-22 15:29:00 -10:00
Phil Hagelberg
c9bd5c6927 Fork unconditionally for now. This helps some things but *breaks* repl.
We need to come up with an alternate approach for the repl task as Ant
simply refuses to implement support for stdin in a forked process:

http://mail-archives.apache.org/mod_mbox/ant-dev/200310.mbox/%3CBAY8-F108GThLvY279700003252@hotmail.com%3E
2010-05-22 15:22:44 -10:00
Phil Hagelberg
23991a2f86 Allow $JAVA_CMD to be customized.
Makes it easier to swap out a 32-bit JVM where you want to reduce boot
time by using the Client Hotspot.
2010-05-22 14:28:39 -10:00
Phil Hagelberg
2861d1a414 Allow :all hooks to be set. 2010-05-21 17:10:29 -10:00
Phil Hagelberg
8768ddcadc If a task returns an integer value, consider it an exit code.
This will let us play better with hooks. Previously the System/exit
was hardcoded in the test task and couldn't be used by the hooks.
2010-05-21 17:10:24 -10:00
Dan Larkin
0b35d44b46 flatten needs to come from contrib seq-utils 2010-05-21 14:03:58 -10:00
Phil Hagelberg
8f590b0dd3 Remove dir-locals since setting non-whitelisted vars is annoying. 2010-05-21 11:09:16 -10:00
Stuart Halloway
12b4bf10a3 running the test suite should not recompile and reload between tests!
- This appears to have been introduced innocently during a
    refactoring http://github.com/technomancy/leiningen/commit/a9936d22
    It is a crippling bug, making test suites run an order of magnitude 
    slower, as they recompile the entire app between test files.
2010-05-21 13:25:03 -04:00
Phil Hagelberg
7de0b79c09 Write test summary to disk, then read it in test task.
IIIIIIIIIIIIIIIIIIIIIIIIIIICK. Ant's subclassloaderisms are nasty!
2010-05-19 23:55:25 -10:00
Phil Hagelberg
4d2793abdc Revert "Allow eval-in-project to exit the VM."
This reverts commit b969b6cf9e.
2010-05-19 23:25:54 -10:00
Phil Hagelberg
b969b6cf9e Allow eval-in-project to exit the VM.
Ugh; ant's permissions are hairy.
2010-05-19 23:13:18 -10:00
Phil Hagelberg
c84b717705 Add hooks using symbols instead of strings. 2010-05-19 22:23:02 -10:00
Phil Hagelberg
f1e2cf8996 First pass at implementing hooks, inspired by clojure.test fixtures. 2010-05-19 17:13:32 -10:00
Phil Hagelberg
f1ae52a31c Allow :warn-on-reflection to be set in project.clj 2010-05-18 19:35:21 -10:00
Phil Hagelberg
f2214c7b17 Automatically compile and deps in eval-in-project if needed.
The heuristic for whether it's needed is just "is the directory empty
or not", which obviously isn't perfect, but whatever--it's just a
convenience thing.
2010-05-18 19:34:50 -10:00
Phil Hagelberg
4014adf766 NEWS/TODO updates. 2010-05-18 16:24:58 -10:00
Phil Hagelberg
069691364e Add dir-locals.el to enforce some Emacs settings. 2010-05-18 15:26:07 -10:00
Phil Hagelberg
2bf87aae53 Add Leiningen logo (courtesy of Loren Broach) to resources dir. 2010-05-18 15:25:15 -10:00
Phil Hagelberg
d67d7d7cb9 Allow :jvm-opts to be set in project.clj.
Note: this forces the project to run in a forked JVM, which increases
startup time. Use sparingly.
2010-05-18 15:24:30 -10:00
Phil Hagelberg
7e493d6b46 Allow :fork option to be set in project.clj 2010-05-16 20:43:53 -07:00
Phil Hagelberg
5808a6d8f8 Use swank-clojure 1.2.1. 2010-05-16 20:40:29 -07:00
Tero Parviainen
43038d1dc1 Added Cygwin support to the lein script 2010-05-15 00:13:28 -07:00
DRT
2be6905ae7 Changed lein script to compensate for lack of /dev/null under Windows 2010-05-15 00:10:05 -07:00
Phil Hagelberg
52e561aace Add src/ to lein-level classpath so it can contain lein tasks.
Thanks ninjudd.
2010-05-14 22:46:54 -07:00
Perry Trolard
aec6d3d91f Fix infinite loop when core/-main called with no args. 2010-05-14 22:31:57 -07:00
Phil Hagelberg
629d2a6384 Move lein-swank plugin to swank-clojure. 2010-05-14 20:41:33 -07:00
Phil Hagelberg
b9663abca6 Allow :aot as alternate way to list :namespaces. 2010-05-14 20:37:27 -07:00
Phil Hagelberg
501dfbae7e exits with 1 when tests have failures or errors 2010-05-14 15:55:48 -07:00
Phil Hagelberg
d4bcbf42fe Roll back to older version of mvn to avoid hanging on exit. 2010-05-14 09:13:19 -07:00
Phil Hagelberg
6ef32376bc Allow org.clojure group-id to be omitted from clojure/contrib deps. 2010-05-04 21:59:34 -07:00
Phil Hagelberg
ce0d680e6c Clojure 1.2 update: flatten has been promoted to core. 2010-04-28 20:38:29 -07:00
Phil Hagelberg
39732d5b64 Enough is enough. 2010-04-26 21:24:19 -07:00
Phil Hagelberg
85b84bc4fa Fix classpath calculation to use ls instead of find. (Thanks Licenser) 2010-04-19 22:23:12 -07:00
Phil Hagelberg
9fd8cb23e7 Quit using that nasty $ESCAPED_ARGS hack for leiningen.core/-main. 2010-04-16 22:34:45 -07:00
Phil Hagelberg
38bcf71e8d Update gitignore with new jar names. 2010-04-16 22:24:46 -07:00
Phil Hagelberg
cd4b56972c Keep dev-dependencies in lib/dev, out of the way of uberjar. 2010-04-16 22:24:01 -07:00