Commit graph

2643 commits

Author SHA1 Message Date
Phil Hagelberg
5646badf5e Be more verbose about the JVM in lein version. 2009-12-10 22:42:50 -08:00
Phil Hagelberg
109b38f738 Honor $JAVA_OPTS. 2009-12-10 22:37:59 -08:00
Phil Hagelberg
63162f6229 Oops; new is shadowed by a macro; can't call it like that. 2009-12-10 22:24:06 -08:00
Phil Hagelberg
144723bad6 Avoid rest args where possible in order to catch arity mistakes. 2009-12-10 22:09:12 -08:00
Phil Hagelberg
a27704b7f9 Merge commit 'danlarkin/guard-against-arity' 2009-12-10 22:00:28 -08:00
Phil Hagelberg
8774473460 Modify test task to take advantage of fixed clojure bug #193. 2009-12-10 21:56:49 -08:00
Phil Hagelberg
119cb3f480 Use 1.1.0-master, not -alpha. 2009-12-10 21:15:43 -08:00
Dan Larkin
27aebfe37d report wrong arity, don't crash 2009-12-10 23:42:19 -05:00
Dan Larkin
2ebb2f220a grammar fix 2009-12-10 23:41:34 -05:00
Dan Larkin
41274ba073 fix NPE when doing "lein core" 2009-12-10 23:23:37 -05:00
Phil Hagelberg
35e0667237 Abort when running self-install on SNAPSHOT versions. 2009-12-10 20:18:22 -08:00
Phil Hagelberg
acf6c3a1f6 Stray println snuck in. 2009-12-10 20:06:07 -08:00
Phil Hagelberg
b3e37c438c Replace rlwrap with jline for repl task. 2009-12-08 18:01:08 -08:00
Phil Hagelberg
a59bc8d5af Call .replace instead of str-replace. Don't create lib or classes, just ignore. 2009-12-07 21:22:02 -08:00
Phil Hagelberg
94f65dadcd Don't pass in a project arg to tasks that don't use it. 2009-12-07 21:17:01 -08:00
B.Smith-Mannschott
2c83f9dd72 teach "leiningen add" not to conflate project's name and directory.
As a consequence it is now also possible to specify a groupId for a
newly created project.

lein new [group-id/]artifact-id [project-dir]

- Group-id is optional. Project-dir defaults to artifact-id if not given.
- Neither group-id nor artifact-id may contain slashes.
- Underscore (_) is normalized to dash (-) in namespace names.
- Dash (-) is normalized to underscore (_) in file and directory names.
2009-12-07 20:59:25 -08:00
Phil Hagelberg
223dffe69c Add aliases for version command. Don't need a project to use it. 2009-12-07 20:54:59 -08:00
Mike T. Miller
c521758a30 added 'version' command 2009-12-07 20:20:44 -08:00
Wayne Rittimann, Jr
2d5a1bece3 Fix for JDK 1.5 compatibility. 2009-12-06 14:07:40 -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
b56b70f068 More details in lein-swank exception catching. 2009-12-05 20:37:19 -08:00
Phil Hagelberg
d164dd82f9 Pass args through on repl task. 2009-12-05 20:30:32 -08:00
Phil Hagelberg
d5eede19f9 Mention known issues, add readme to lein-swank. 2009-12-05 20:29:45 -08:00
Phil Hagelberg
1d22fc3837 Run swank server using eval-in-project.
Doesn't work well with Clojure-1.0 projects.
2009-12-05 15:35:07 -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
47a50d1695 Only include :resources-path in jar if it exists. 2009-12-03 22:36:47 -08:00
Phil Hagelberg
4dca233c8b Allow callers of eval-in-project to customize the java task. 2009-12-03 22:36:28 -08:00
Phil Hagelberg
19548745ed Add resources/ dir to the classpath and generated jars. 2009-12-02 21:07:14 -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
f2a1e1ec97 Add NEWS file with release notes. 1.0 is just around the corner. 2009-12-01 22:43:57 -08:00
Phil Hagelberg
cc9cef7c8c Merge branch 'sys-exit' 2009-12-01 22:41:11 -08:00
Phil Hagelberg
72ff86dbc4 Minor readme/todo tweaks. 2009-12-01 22:41:04 -08:00
Phil Hagelberg
c846cefbc9 Temporarily disable -Xbootclasspath until cause of NPE is discovered. 2009-12-01 22:30:33 -08:00
Phil Hagelberg
f390c609aa Explain optional project.clj keys in readme. Note publishing deps on clojars. 2009-12-01 22:28:58 -08:00
Phil Hagelberg
7c2cb69a70 Heh... if lein-swank depends on leiningen that'd be a circular dependency. 2009-12-01 21:56:51 -08:00
Phil Hagelberg
0361b0cfd0 System/exit appropriately depending on pass/fail count.
Also fixes super-summary, which an earlier commit had broken.
2009-12-01 21:11:21 -08:00
Phil Hagelberg
35fedd88cd Todo updates. 2009-12-01 20:27:36 -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
Dan Larkin
fa76049613 Merge branch 'master' of git://github.com/technomancy/leiningen
Conflicts:
	todo.org
2009-12-01 21:38:49 -05:00
Phil Hagelberg
81d05b7ae2 Mention cleaning before uberjar to avoid dev deps. 2009-11-30 22:22:23 -08:00
Phil Hagelberg
1c17c2deca Skip dev dependencies when pulling deps for compiling. 2009-11-30 22:20:15 -08:00
Phil Hagelberg
88d4de108e If no task is given fall back to help task. 2009-11-30 22:16:34 -08:00
Dan Larkin
1d202aa63e Merge branch 'master' of git://github.com/technomancy/leiningen 2009-12-01 00:09:35 -05:00
Phil Hagelberg
35d7165a84 Change sample project to use Clojure 1.0.0. 2009-11-29 21:33:50 -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