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
Phil Hagelberg
777ce00787
Don't mkdir classes if it's a task that doesn't take a project arg.
2009-11-27 20:10:41 -08:00
Dan Larkin
238c5d0451
add note to todo about getting lein version from clojure code
2009-11-25 01:55:56 -05:00
Dan Larkin
014b2f18f8
we no longer create a pom-generated.xml so we no longer have to clean it
2009-11-25 01:40:10 -05:00
Dan Larkin
e024e15c79
improve "clean" command: Don't delete lib/ and classes/, just empty them. Also delete -standalone jar and pom-generated.xml
2009-11-25 01:39:00 -05:00
Dan Larkin
cb5bf137a8
clean should delete whatever (:compile-path project) is, not hardcode "classes/"
2009-11-25 01:39:00 -05:00
Dan Larkin
47e7b98ddb
make :compile-path a key that's always present in the project hash map
2009-11-25 01:35:07 -05:00
Dan Larkin
6fbdfb7a91
move mkdir of classes/ from shell script into core.clj
2009-11-25 01:35:07 -05:00
Phil Hagelberg
cee9dcc0ee
Update todos.
2009-11-24 22:24:49 -08:00
Phil Hagelberg
39f6ab8be1
Merge commit 'danlarkin/build-jar-in-memory'
2009-11-24 22:20:18 -08:00
Dan Larkin
258b6b52e2
remove lancet require from pom, it wasn't being used
2009-11-25 00:53:13 -05:00
Dan Larkin
90d5e955fb
include a pom.properties file in the jar
2009-11-25 00:50:21 -05:00
Dan Larkin
7647c6cbed
refactor pom and jar code to use make-pom
2009-11-25 00:30:04 -05:00
Dan Larkin
d3159a4548
generate pom byte array (instead of on disk) and include that in the jar in appropriate meta-inf/groupid/artifactid directory
2009-11-25 00:18:31 -05:00
Dan Larkin
366c8713b0
refactor writing files to jar into a multimethod
2009-11-25 00:15:36 -05:00
Dan Larkin
f950e77fd2
use org-mode "Tags" instead to assign work in todo.org
2009-11-24 22:33:07 -05:00
Phil Hagelberg
61c27c7518
Bootstrap instructions, take 3.
2009-11-24 18:45:49 -08:00
Phil Hagelberg
3ada85bdbd
Oops, bootstrap install is slightly more complicated than that.
2009-11-23 22:33:31 -08:00
Phil Hagelberg
06a584a7c3
Add TODOs.
2009-11-23 22:24:28 -08:00
Phil Hagelberg
ca0eb42f47
Neither "new" nor "help" tasks need a project to run.
2009-11-23 21:27:07 -08:00
Phil Hagelberg
a2f17c0d0b
Update readme for easier dev installation; add some TODOs.
2009-11-23 21:26:47 -08:00
Dan Larkin
b7ae6e263f
use java.util.jar to build jars instead of lancet
2009-11-23 01:08:44 -05:00
Phil Hagelberg
5d018c1026
Leave lib/ and classes/ intact but delete their contents.
2009-11-22 20:26:45 -08:00
Phil Hagelberg
f979048404
Merge commit 'danlarkin/improve-manifest'
2009-11-22 15:55:24 -08:00
Alex Osborne
7b6acbc5af
Fix compiling of namespace that include a - character.
2009-11-22 14:55:42 -08: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