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
Phil Hagelberg
b9a018721e
Unify terminology: there are no commands, just tasks.
2009-11-29 14:22:20 -08:00
Phil Hagelberg
4d4aa03983
Allow test task to take namespaces as an argument.
2009-11-29 14:20:09 -08:00
Phil Hagelberg
7acd4cb32d
Updated todos.
2009-11-28 21:35:19 -08:00
Phil Hagelberg
04f076dd36
Updated contribution notes.
2009-11-28 21:35:04 -08:00
Phil Hagelberg
eb7f69adbb
Merge branch 'no-maven-shell-out'
2009-11-28 21:22:52 -08:00
Phil Hagelberg
f1406373cb
Add lein-swank as a dev dependency.
2009-11-28 20:53:57 -08:00
Andrei Dragomir
7104b52a0c
fixed weird jars issue crashing uberjar task; no longer checking input ZipEntry size
2009-11-28 20:40:28 -08:00
Phil Hagelberg
15cbad9daf
Disable help summary output until Clojure bug #130 is fixed. =(
2009-11-28 20:38:24 -08:00
Phil Hagelberg
22c19cbc1e
Added test for install task.
2009-11-28 20:33:28 -08:00
Phil Hagelberg
ec2724120a
The install task no longer shells out to maven.
...
Thanks to Alex for several functions taken from clojars.
2009-11-28 20:28:33 -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
Phil Hagelberg
173da8ee74
Remove duplicate task output from help task.
...
Consolidate IO in help.
2009-11-27 20:13:36 -08:00