Dan Larkin
7674952db1
put Manifest.txt in classes/ instead of toplevel project directory
2009-11-22 02:58:08 -05:00
Dan Larkin
c907127edd
put more info into the manifest of jars we build
2009-11-22 02:24:20 -05:00
Phil Hagelberg
08c6ba47e9
Appropriate error codes and improved message for command-not-found.
2009-11-21 22:50:56 -08:00
Dan Larkin
5df3646f8a
handle missing command
2009-11-21 22:46:37 -08:00
Dan Larkin
7ca03af258
lein test should aggregate all test failures/passes etc and display a summary at the end of all the tests
2009-11-21 22:36:26 -08:00
Alex Osborne
c8ce3cd014
When creating a standalone jar don't unpack deps.
...
This means we don't have to unpack everything into classes/ which was
causing people to accidentally create an uberjar when they did
"lein jar". We also merge plexus components.xml files, this means
that uberjaring projects that embed Maven (like Leiningen itself)
now works reliably.
2009-11-22 10:15:17 +11:00
Alex Osborne
b4bc2c0052
Call setScm on the model object not the scm. Oops.
2009-11-20 17:40:38 -08:00
Alex Osborne
73ff53d39e
Only call setScm if retrieving git data actually works.
...
It worked fine before (as it just called setScm with nil)
but clearing the scm might lead to confusion down the track.
2009-11-20 17:40:26 -08:00
Phil Hagelberg
f7f8a429cc
Fix fat-fingered pom generation from jar task.
2009-11-20 17:35:16 -08:00
Phil Hagelberg
ab37c75fed
Make uberjar create a $PROJECT-standalone.jar file.
2009-11-20 17:30:54 -08:00
Alex Osborne
547e4484fa
Populate the scm tag in the pom with git data if available.
2009-11-21 10:45:32 +11:00
Phil Hagelberg
601c00859c
Only compile classes if the bytecode is older than the .clj source.
2009-11-19 18:35:23 -08:00
Phil Hagelberg
1f53bb8d00
Write to pom-generated.xml instead of pom.xml; don't prompt to overwrite.
2009-11-19 18:31:24 -08:00
Phil Hagelberg
bda58abe04
Add new task for generating project skeletons.
2009-11-19 17:50:33 -08:00
Phil Hagelberg
70a6d19546
Bump version to 1.0.0-SNAPSHOT
2009-11-19 17:22:52 -08: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
2835866624
Added :description output to pom.xml.
2009-11-17 22:51:58 -08:00
Phil Hagelberg
4208183f1e
Add somewhat-detailed help output for each task.
2009-11-17 22:49:13 -08:00
Phil Hagelberg
d31b5d673d
Add help command and summaries for each command.
2009-11-17 22:29:54 -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
879b96b70f
Warning on install if mvn is missing.
2009-11-17 20:16:41 -08:00
Phil Hagelberg
87afe4394a
Add disclaimer to autogenerated pom files.
2009-11-16 22:18:15 -08:00
Phil Hagelberg
74f3a91318
Enable jars to be created with Main-Class set in manifest.
2009-11-16 21:49:36 -08:00
Phil Hagelberg
98332899aa
Add src/ and project.clj to jar.
2009-11-16 20:41:54 -08:00
Phil Hagelberg
4b65172b39
Prompt to overwrite if pom.xml exists already.
2009-11-16 20:24:36 -08:00
Phil Hagelberg
ebd3c2c3d7
Allow setting group in defproject.
2009-11-16 20:05:07 -08:00
Phil Hagelberg
28e6c72b41
Fix central repo URL, and separate out deps vs pom repo/dependency classes.
2009-11-16 16:28:17 -08:00
Phil Hagelberg
74d3709a85
Added first-pass implementation of install command.
...
Since the API for re-using pom objects is a bit nutty, this
implementation simply shells out to mvn. Future versions will fix this
shortcoming.
2009-11-15 21:08:23 -08:00
Phil Hagelberg
8782408fe6
Remove some overlap from pom.clj and deps.clj.
...
Still some overlap, but ant's API for relying on pom functionality in
deps.clj is annoying.
2009-11-15 21:07:11 -08:00
Phil Hagelberg
6dfa557c11
Add pom task.
2009-11-15 15:11:01 -08:00
Phil Hagelberg
be8904b6f3
Move the remnants of swank out of lein proper.
2009-11-15 14:41:45 -08:00
Phil Hagelberg
ddf403dedb
Spin off swank into a subproject.
2009-11-14 20:47:48 -08:00
Phil Hagelberg
05471a51b8
Only bring in dev dependencies when testing.
2009-11-14 20:47:01 -08:00
Phil Hagelberg
088e52afc7
Support development dependencies.
2009-11-14 20:28:54 -08:00
Phil Hagelberg
41967895b0
Use lancet for jar creation.
2009-11-14 20:14:18 -08:00
Phil Hagelberg
35ebb7f0f0
Download dependencies where appropriate.
2009-11-14 17:17:27 -08:00
Phil Hagelberg
12f0b98abc
Allow custom :repositories to be specified in project.clj.
...
Add build.clojure.org as a default repo.
2009-11-14 15:31:42 -08:00
Phil Hagelberg
e1a2d49278
Don't freak out when cleaning an already-clean project.
2009-11-14 14:37:18 -08:00
Phil Hagelberg
acb11e3a41
Use group.id/artifact notation in project.clj.
2009-11-14 14:33:39 -08:00
Phil Hagelberg
b36f9c1b12
Couple more TODOs
2009-11-14 14:25:27 -08:00
Phil Hagelberg
42cdf1f622
Version is no longer optional in defproject.
2009-11-14 14:24:36 -08:00
Phil Hagelberg
259f753c4a
Comment out broken lancet call.
2009-11-11 21:23:58 -08:00
Phil Hagelberg
b3f158d50b
Move condition to doseq form in uberjar.
2009-11-11 21:23:45 -08:00
Phil Hagelberg
c27e16e744
Don't need to bind *compile-path* in compile.
2009-11-11 21:23:16 -08:00
Phil Hagelberg
d230820d8d
Remove need for fully-qualified defproject.
...
Not sure I'm 100% happy with this solution as it adds a var in clojure.core.
2009-11-09 22:18:02 -08:00
Phil Hagelberg
dcbc5ff8f2
Update lancet to use latest ant API.
2009-11-09 20:27:56 -08:00
Phil Hagelberg
4d83663882
Add swank command.
2009-11-08 22:23:00 -08:00
Phil Hagelberg
91f5d54891
Add jar and uberjar commands.
2009-11-08 22:11:31 -08:00
Phil Hagelberg
c558fe9e17
Add clean command.
2009-11-08 22:09:39 -08:00
Phil Hagelberg
b381c460a5
Use with-ns so defproject works unqualified. Bind *compile-path* explicitly.
...
Not sure why explicit *compile-path* is required, but it was getting
reset somehow.
2009-11-08 22:08:20 -08:00
Phil Hagelberg
9781da1dbd
Bite the bullet and bundle lancet since it's not in any real repo yet.
2009-11-05 20:38:21 -08:00
Phil Hagelberg
79b969b425
Move away from build.clj to project.clj.
2009-11-05 20:36:27 -08:00
Phil Hagelberg
8aad65943e
Allow tests to be filtered on predicates.
2009-11-04 22:10:29 -08:00
Phil Hagelberg
ac719fa61c
Fix dependency unpacking to use right directory.
2009-11-04 22:09:45 -08:00
Phil Hagelberg
b3e0233a25
Added FAQ, License.
2009-11-04 20:25:13 -08:00
Phil Hagelberg
3413b16b2a
Bind *compile-path*, not sure how it becomes unbound.
2009-11-02 22:27:16 -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
f8d6035dd8
Implement compile command.
2009-11-02 21:22:57 -08:00
Phil Hagelberg
d678f25aef
Remove stub namespaces for now.
2009-11-02 21:22:33 -08:00
Phil Hagelberg
93bcde9126
Move to leiningen.core.
2009-11-02 21:22:11 -08:00
Phil Hagelberg
73115a5765
Added test namespace/task.
2009-11-01 22:47:27 -08:00
Phil Hagelberg
f53cc17864
Move main.clj to core.clj
2009-11-01 22:22:43 -08:00
Phil Hagelberg
f47a05eaf2
Put jars directly in lib/ instead of nesting.
2009-11-01 14:41:59 -08:00
Phil Hagelberg
c308263048
Split functionality out into several namespaces.
2009-10-31 22:45:53 -07:00
Phil Hagelberg
88b53602f7
Initial commit.
2009-10-31 21:48:57 -07:00