Commit graph

502 commits

Author SHA1 Message Date
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
Phil Hagelberg
a756c40de7 Re-enable use of checkout-dependencies. 2010-04-16 22:14:33 -07:00
Phil Hagelberg
4a216d1fa8 Update known issues in readme. 2010-04-16 21:56:59 -07:00
Phil Hagelberg
44b6369aec Move repl task out of shell script, finally! Depends on Clojure ticket #299. 2010-04-16 21:46:53 -07:00
Phil Hagelberg
e886afb457 Upgrade to Clojure 1.2.0-master-SNAPSHOT. 2010-04-16 21:25:59 -07:00
Perry Trolard
d3b479d9df Whitespace change... 2010-04-08 16:58:27 -05:00
Perry Trolard
575405c829 Fix incorrecty formed jarname in uberjar. 2010-04-08 16:49:51 -05:00
Phil Hagelberg
d9246d6c6f More helpful message when no namespaces are configured for compilation. 2010-04-06 22:42:31 -07:00
Phil Hagelberg
5c3667986f Keep jar files in root unless :jar-dir specifies otherwise. 2010-04-06 22:35:59 -07:00
David McNeil
225d4a4ae1 Write jar to the :target-path directory. 2010-04-06 22:31:13 -07:00
David McNeil
036b47d505 Added option to omit-default-repositories. 2010-04-06 22:31:13 -07:00
Phil Hagelberg
f83bf739e7 Use rlwrap if detected. 2010-04-06 22:29:59 -07:00
Phil Hagelberg
8c9e0a7dae Include version number in jar filenames. 2010-04-06 22:22:17 -07:00
Peter Schuller
dcb2d54bf2 Do not assume bash it as /bin/bash; use /usr/bin/env bash. 2010-04-06 22:17:42 -07:00
Stephen Compall
625c5de55d move classpath-related functions from compile to classpath module 2010-04-06 22:08:33 -07:00
Stephen Compall
ba964458c6 add "classpath" built-in subcommand 2010-04-06 22:06:18 -07:00
Phil Hagelberg
266b254b76 Call read-project from leiningen.core ns. 2010-04-06 22:05:48 -07:00
Phil Hagelberg
28573d093a Implement first run of checkout dependencies. 2010-04-06 21:59:44 -07:00
Phil Hagelberg
479fbe9f2b Mention $RLWRAP environment var in readme in jline section. 2010-04-06 21:55:38 -07:00
dakrone
2cd3e0130e slight readme formatting fix. 2010-04-06 21:50:40 -07:00
dakrone
a726c4aad4 Add ability to specify jline usage with env variable.
Set LEIN_USE_JLINE=false and 'lein repl' will not use jline when
starting a REPL. Also updated the README's FAQ to add this.
2010-04-06 21:50:40 -07:00
Phil Hagelberg
417151eb6a Write ns->path and path->ns functions in core. 2010-04-06 21:41:23 -07:00
Phil Hagelberg
b3a794c604 I'm dumb; let some conflicts in. 2010-03-22 20:55:56 -07:00
Phil Hagelberg
84ca66b023 Accept host argument from the command line for lein-swank. 2010-03-21 15:18:32 -07:00
Phil Hagelberg
0df6f8477d Tweak symlinking of dependent jars. 2010-03-16 21:06:34 -07:00