Commit graph

270 commits

Author SHA1 Message Date
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
Rob Wolfe
74c9f1c839 adding error messages to lein.bat 2010-01-27 22:13:53 -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
c99bada107 Mention windows support in docs. 2010-01-02 15:52:14 -08:00
Rob Wolfe
5e9f694fd3 windows environment 2010-01-02 15:23:30 -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
Alex Osborne
b1daf46753 Follow symlinks when finding BIN_DIR. 2009-11-22 12:12:46 +11:00
Dan Larkin
8470190d13 don't check for existence of git repo, all we need to do is check for the source 2009-11-21 20:04:32 -05:00
Dan Larkin
6e35f71a7e if lein shell script is being run from a git checkout then we should put src:lib:classes on the CLASSPATH in addition to the LEIN_JAR 2009-11-21 19:45:10 -05:00
Dan Larkin
d6feadd695 Merge branch 'master' of git://github.com/technomancy/leiningen 2009-11-21 15:34:38 -05:00
Phil Hagelberg
ab37c75fed Make uberjar create a $PROJECT-standalone.jar file. 2009-11-20 17:30:54 -08:00
Phil Hagelberg
70a6d19546 Bump version to 1.0.0-SNAPSHOT 2009-11-19 17:22:52 -08:00
Dan Larkin
e5afd5efc8 Merge branch 'master' of git://github.com/technomancy/leiningen 2009-11-18 11:33:35 -05:00
Phil Hagelberg
f97228f1a7 Calling it good: releasing 0.5.0! 2009-11-17 23:28:36 -08:00
Phil Hagelberg
a387b2196d Skip dev dependencies when they probably aren't needed. 2009-11-17 23:04:13 -08:00
Phil Hagelberg
0a6898d8d6 Move deps-if-missing to shell script. Needs to happen before JVM launch. 2009-11-17 22:03:12 -08:00
Phil Hagelberg
ebd3c2c3d7 Allow setting group in defproject. 2009-11-16 20:05:07 -08:00
Mike Douglas
41953e6dee bin/lein: ensure $PATH is searched when checking for curl. 2009-11-15 14:36:30 -08:00
Dan Larkin
9a53c85412 Merge remote branch 'technomancy/master' 2009-11-15 01:44:23 -05:00
Dan Larkin
940008648b update usage for lein script 2009-11-15 01:44:20 -05:00
Phil Hagelberg
c5ba551500 Add motivation to README 2009-11-14 20:56:52 -08:00
Phil Hagelberg
bc9e72f715 Merge danlarkin/master. 2009-11-14 15:42:44 -08:00
Dan Larkin
7255bc453f lein shell script should show usage if you don't give a task 2009-11-14 18:03:09 -05:00
Phil Hagelberg
371ce49af4 Use client JVM since it shouldn't be a long-running process. 2009-11-14 14:48:39 -08:00
Dan Larkin
6988356d37 put quotes around $1 in lein shell script so it runs okay on OS X 2009-11-14 16:44:59 -05:00
Phil Hagelberg
44a1370cc2 Improve self-install. 2009-11-11 21:24:48 -08:00
Phil Hagelberg
d84de0ccfa Add self-install command. 2009-11-09 22:22:09 -08:00
Phil Hagelberg
79b969b425 Move away from build.clj to project.clj. 2009-11-05 20:36:27 -08:00
Phil Hagelberg
6aebd55634 Fix defproject. Unfortunately build.clj needs to call it fully-qualified. 2009-11-02 22:20:29 -08:00
Phil Hagelberg
1db1515e79 Four spaces to indent a shell script, you HEATHEN! 2009-11-01 22:47:41 -08:00
Phil Hagelberg
a96d05e4d1 Make bin script slightly smarter. One step at a time. 2009-11-01 22:38:59 -08:00
Phil Hagelberg
dc69c98887 Fleshed out minimal bin script 2009-11-01 22:21:50 -08:00
Phil Hagelberg
88b53602f7 Initial commit. 2009-10-31 21:48:57 -07:00