Commit graph

4502 commits

Author SHA1 Message Date
Matt Revelle
ad39972f25 Added exclusions support in project files. Useful for libraries that have extra dependencies unnecessary for runtime. (Looking at you, log4j) 2009-12-19 16:37:55 -05:00
Phil Hagelberg
66b4ed91e2 Rename exit-with-error to abort. 2009-12-15 19:51:09 -08:00
Phil Hagelberg
83ab2890b0 Merge commit 'danlarkin/catch-missing-project' 2009-12-15 19:49:22 -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
Dan Larkin
e4e01fe1d1 print an error message instead of a stack trace when no project.clj is found 2009-12-12 16:52:37 -05:00
Dan Larkin
54c8de178d use exit-with-error instead of printing an error message and calling System/exit separately every time 2009-12-12 16:51:37 -05:00
Phil Hagelberg
fb13db7d38 Release 1.0.1! 2009-12-10 22:52:01 -08:00
Dan Larkin
3ab3935dd3 first shot at bash completion for lein shell script 2009-12-10 22:48:51 -08:00
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