Commit graph

4164 commits

Author SHA1 Message Date
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
Dan Larkin
7674952db1 put Manifest.txt in classes/ instead of toplevel project directory 2009-11-22 02:58:08 -05:00
Phil Hagelberg
fe75bcb44a Update credits. Thanks, Alex and Dan! 2009-11-21 23:47:33 -08:00
Dan Larkin
c907127edd put more info into the manifest of jars we build 2009-11-22 02:24:20 -05:00
Phil Hagelberg
960296c69c Yes, we are picky about whitespace, too. 2009-11-21 22:51:12 -08: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
Phil Hagelberg
4b0991c49f Don't mkdir classes unless you're in a project directory. 2009-11-21 22:28:15 -08:00
Phil Hagelberg
915c0eb173 Fall back to LEIN_JAR if core.class isn't found. 2009-11-21 22:20:00 -08:00
Phil Hagelberg
2d1bda6f4a Merge commit 'danlarkin/detect-git-checkout' 2009-11-21 22:14:09 -08:00
Alex Osborne
92f260e214 Resolve symlinks to the script itself, not parent directories in a cross-platform way. 2009-11-22 16:08:38 +11:00
Dan Larkin
52dd161b34 resolve symlinks in a cross-platform way, using pwd -P 2009-11-21 23:48:22 -05:00
Alex Osborne
b1daf46753 Follow symlinks when finding BIN_DIR. 2009-11-22 12:12:46 +11:00
Dan Larkin
8470190d13 don't check for existence of git repo, all we need to do is check for the source 2009-11-21 20:04:32 -05:00
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