Commit graph

77 commits

Author SHA1 Message Date
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
Phil Hagelberg
f83bf739e7 Use rlwrap if detected. 2010-04-06 22:29:59 -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
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
8a687e7c94 Check a project's src/ dir for leiningen tasks. 2010-03-15 21:25:46 -07:00
Phil Hagelberg
efbeb67c4d Allow $CLASSPATH to be used to customize repl classpath. 2010-03-12 21:07:44 -08:00
Phil Hagelberg
1ea20ac740 Fix java paths on cygwin and allow spaces in the LEIN_JAR directory path. 2010-03-06 21:51:13 -08:00
Phil Hagelberg
b5b6b56e6d Add a note in order to clarify that -Xbootclasspath is optional. 2010-03-06 21:36:19 -08:00
Phil Hagelberg
2337ea1569 Bump to 1.2.0-SNAPSHOT. 2010-02-26 16:10:30 -08:00
Phil Hagelberg
0577148bd2 Release 1.1.0! 2010-02-16 21:58:41 -08:00
Seth Schroeder
92e9bbf571 restore Xbootclasspath on MacOS X 2010-02-16 21:15:58 -08:00
Phil Hagelberg
8891f781ae Skip -Xbootclasspath on OS X until test issues are resolved.
This makes boot time sloooooooooooooow.
2010-02-13 09:40:08 -08:00
Phil Hagelberg
176c2cdea4 Only show repl warning when running in a project dir.
Standalone repls don't care.
2010-02-13 09:27:29 -08:00
abscondment
8fe72c159a Refining upgrade: check for access, request confirmation. 2010-02-13 09:25:55 -08:00
abscondment
dce5992814 First pass at an upgrade task. 2010-02-13 09:25:47 -08:00
Phil Hagelberg
d6e22bddbb In bin script, find's -follow argument must come after path. 2010-01-31 14:17:07 -08:00
Phil Hagelberg
3130064c8a Add a warning for the lein repl task. 2010-01-30 21:53:38 -08:00
Phil Hagelberg
62dfb7e029 Don't use find's -H option; it's not present on older systems.
Thanks to Scott Haug.
2010-01-30 21:31:05 -08:00
Phil Hagelberg
d9e2b7791b Use Clojure 1.1.0 release for using Leiningen itself. 2010-01-20 23:22:39 -08:00
Phil Hagelberg
6e1a777c9b Remove cargo-cult garbage in bin script. Thanks, Steve. 2010-01-01 21:58:27 -08:00
Phil Hagelberg
5fc196cfeb Honor $RLWRAP if present in repl task. 2009-12-15 19:38:24 -08:00
Phil Hagelberg
14b08db530 Bump version. 2009-12-15 19:38:14 -08:00
Phil Hagelberg
fb13db7d38 Release 1.0.1! 2009-12-10 22:52:01 -08:00
Phil Hagelberg
109b38f738 Honor $JAVA_OPTS. 2009-12-10 22:37:59 -08:00
Phil Hagelberg
119cb3f480 Use 1.1.0-master, not -alpha. 2009-12-10 21:15:43 -08:00
Phil Hagelberg
35e0667237 Abort when running self-install on SNAPSHOT versions. 2009-12-10 20:18:22 -08:00
Phil Hagelberg
b3e37c438c Replace rlwrap with jline for repl task. 2009-12-08 18:01:08 -08:00
Mike T. Miller
c521758a30 added 'version' command 2009-12-07 20:20:44 -08:00
Phil Hagelberg
d3d53a432f Bump version number to 1.0.1-SNAPSHOT 2009-12-06 14:07:35 -08:00
Phil Hagelberg
da41a91e05 Releasing 1.0.0. 2009-12-05 21:07:26 -08:00
Phil Hagelberg
d164dd82f9 Pass args through on repl task. 2009-12-05 20:30:32 -08:00
Phil Hagelberg
ddc013c6db Release Candidate 1? Why certainly; I don't mind if I do. 2009-12-03 22:36:56 -08:00
Phil Hagelberg
7c2d01a440 Merge RickMoynihan's rlwrap patch, but disable it for dumb terms. 2009-12-02 21:00:01 -08:00
Phil Hagelberg
dda9f3f6b0 Add project's lib/ directory to lein classpath for plugins.
Fix classpath for repl task.
2009-12-02 20:47:30 -08:00
Rick Moynihan
01860b3100 Added code to use rlwrap for "lein repl" if present. 2009-12-02 17:40:25 +00:00
Phil Hagelberg
3a4c7e0408 Fix NPE when using -Xbootclasspath with transitive requires. 2009-12-01 23:02:44 -08:00
Phil Hagelberg
c846cefbc9 Temporarily disable -Xbootclasspath until cause of NPE is discovered. 2009-12-01 22:30:33 -08:00
Dan Larkin
42f8f3a2d0 always use -Xbootclasspath/a, if $CLOJURE_JAR doesn't exist there's no harm done 2009-12-01 23:04:26 -05:00
Dan Larkin
61c8683db3 try to detect clojure.jar so we can use -Xbootclasspath/a 2009-12-01 21:42:24 -05:00
Phil Hagelberg
88d4de108e If no task is given fall back to help task. 2009-11-30 22:16:34 -08:00
Alex Osborne
fb95c5ef57 Run compile and test tasks in isolated classloader
This means that we can:
- Safely compile against alternative versions of Clojure.
- Move classpath logic from the shell script to lein itself.
- Run lein with: java -jar leiningen-standalone.jar

This patch also makes the source, test and library paths configurable
which is useful for people with special requirements like mixed-language
projects.
2009-11-30 15:34:14 +11:00
Phil Hagelberg
7acd4cb32d Updated todos. 2009-11-28 21:35:19 -08:00
Phil Hagelberg
2a76567d9e Running a dev version of lein from a checkout shouldn't use LEIN_JAR.
Improve error message when dev checkout deps are missing.

Store uberjar in ~/.m2 as -standalone in order to avoid ambiguity.
2009-11-27 20:27:11 -08:00
Dan Larkin
6fbdfb7a91 move mkdir of classes/ from shell script into core.clj 2009-11-25 01:35:07 -05:00
Dan Larkin
07f61f6bf6 remove gen-class on leiningen.core and update lein shell script and project file to deal with it 2009-11-22 17:09:11 -05:00
Phil Hagelberg
4b0991c49f Don't mkdir classes unless you're in a project directory. 2009-11-21 22:28:15 -08:00
Phil Hagelberg
915c0eb173 Fall back to LEIN_JAR if core.class isn't found. 2009-11-21 22:20:00 -08:00
Alex Osborne
92f260e214 Resolve symlinks to the script itself, not parent directories in a cross-platform way. 2009-11-22 16:08:38 +11:00
Dan Larkin
52dd161b34 resolve symlinks in a cross-platform way, using pwd -P 2009-11-21 23:48:22 -05:00