Commit graph

442 commits

Author SHA1 Message Date
Dan Larkin
6e35f71a7e if lein shell script is being run from a git checkout then we should put src:lib:classes on the CLASSPATH in addition to the LEIN_JAR 2009-11-21 19:45:10 -05: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
Dan Larkin
d6feadd695 Merge branch 'master' of git://github.com/technomancy/leiningen 2009-11-21 15:34:38 -05: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
6876da93f5 Ignore standalone jar too. 2009-11-20 17:35:41 -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
b58d98f2c7 Update lein-swank. 2009-11-20 14:11:23 -08: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
d99675466b Mention clojars in the readme. 2009-11-19 17:25:38 -08:00
Phil Hagelberg
70a6d19546 Bump version to 1.0.0-SNAPSHOT 2009-11-19 17:22:52 -08:00
Dan Larkin
e5afd5efc8 Merge branch 'master' of git://github.com/technomancy/leiningen 2009-11-18 11:33:35 -05: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
Mike Douglas
41953e6dee bin/lein: ensure $PATH is searched when checking for curl. 2009-11-15 14:36:30 -08:00
Dan Larkin
9d4f5a66eb Merge remote branch 'technomancy/master' 2009-11-15 15:45:00 -05:00
Phil Hagelberg
0869e0a68d Swank-clojure isn't available in a repo yet. 2009-11-15 07:45:30 -08:00
Dan Larkin
9a53c85412 Merge remote branch 'technomancy/master' 2009-11-15 01:44:23 -05:00
Dan Larkin
940008648b update usage for lein script 2009-11-15 01:44:20 -05:00
Phil Hagelberg
c5ba551500 Add motivation to README 2009-11-14 20:56:52 -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
3ad2025db6 Clarify installation instructions. 2009-11-14 17:18:56 -08:00
Phil Hagelberg
35ebb7f0f0 Download dependencies where appropriate. 2009-11-14 17:17:27 -08:00
Phil Hagelberg
bc9e72f715 Merge danlarkin/master. 2009-11-14 15:42:44 -08:00
Phil Hagelberg
1d4aace377 Oops; forgot to update dependency notation in readme. 2009-11-14 15:36:10 -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
fc931d8747 Added a note about bootstrapping. 2009-11-14 15:06:21 -08:00
Dan Larkin
7255bc453f lein shell script should show usage if you don't give a task 2009-11-14 18:03:09 -05:00