Commit graph

516 commits

Author SHA1 Message Date
Phil Hagelberg
bcb6b1b42d Load user-init file earlier so aliases may be set. 2010-08-29 13:41:03 -07:00
Phil Hagelberg
8f50fa7572 Allow the socket-repl host/port to be customized in project.clj. 2010-08-29 13:40:50 -07:00
Phil Hagelberg
484e33397a Use LEIN_VERSION env var instead of system property. 2010-08-28 12:41:18 -07:00
Phil Hagelberg
64c6a43d38 Newline at the end of gitignore. 2010-08-28 12:40:55 -07:00
Phil Hagelberg
94f08b5966 Don't allow malformed checkout deps to interfere with eval-in-project. 2010-08-26 17:50:23 -07:00
John Sanda
0475f7cb95 Patch for issue 92
Adding support for specifying the dependency type, defaults to "jar"
2010-08-24 21:57:30 -07:00
Phil Hagelberg
9a941b095c Allow lein repl to work with 1.1.0. Curse you, Xbootclasspath! 2010-08-24 18:58:25 -07:00
Phil Hagelberg
dc933ebc26 Use numeric return value for compile task. Tighten up implementation. 2010-08-24 17:25:21 -07:00
Alan Dipert
24a314f62c Shorten nullsink function 2010-08-24 02:31:41 -04:00
Alan Dipert
a99b24685d tightening 2010-08-24 02:26:59 -04:00
Alan Dipert
221febafbf typo 2010-08-24 02:25:29 -04:00
Alan Dipert
9ef5d7b61f compile/compile cleanup 2010-08-24 02:23:57 -04:00
Alan Dipert
7a8e7e44c8 We're back! Jar/uberjar fails with a failed compile 2010-08-24 02:07:35 -04:00
Alan Dipert
1a0a69227e compile/compile is a hairy mother, but it behaves. Added another test project 2010-08-24 02:01:39 -04:00
Alan Dipert
c5994f8aa6 Suppress compilation stacktrace when testing 2010-08-24 02:01:12 -04:00
Phil Hagelberg
e8b5e7964e Oops; forgot a file. 2010-08-23 22:34:31 -07:00
Phil Hagelberg
0d3734a0a7 Allow jar to proceed even if compile returns nil. 2010-08-23 22:33:49 -07:00
Phil Hagelberg
43331a9e72 Reduce contrib usage. Obligatory grumbles about delete-file-recursively.
Not to mention to-byte-array being left out of clojure.java.io.
2010-08-23 22:29:32 -07:00
Phil Hagelberg
e755853a52 Merge remote branch 'alandipert/master' 2010-08-23 21:26:25 -07:00
Phil Hagelberg
a4667096be Minor cleanup of :min-lein-version functions. 2010-08-23 21:21:54 -07:00
Isaac Hodes
e5076714b1 Fixed error displaying if no :min-lein-version is specified. 2010-08-23 21:15:07 -07:00
Isaac Hodes
31ea0932fe Changed VERSION in bin/lein to LEIN_VERSION, and export it.
Check to ensure :min-lein-version is less than or equal to the current
leiningen version
2010-08-23 21:14:59 -07:00
Phil Hagelberg
c5f34c5b41 Quit using c.c.as-properties; doesn't seem necessary here. 2010-08-23 20:43:23 -07:00
Alan Dipert
93535c5a17 Added a build-failing project for flexing compilation-failing aware 'jar'; created test_projects and moved sample there too 2010-08-23 23:03:52 -04:00
Phil Hagelberg
d8a34cf049 Use our own namespace lib instead of contrib's. Fixes #94. Fixes #98.
Contrib's has a few issues; see the tickets mentioned above.
2010-08-23 15:38:04 -07:00
Phil Hagelberg
3f4e557d80 Add an error message for reader exceptions. Fixes #95.
Actually the last commit fixed #95, but I want to auto-close it with a
commit message because I'm lazy, and this is related. =)
2010-08-22 22:04:45 -07:00
Isaac Hodes
8ec9b4a9ba Fixed the explosion of REPL on bad input. 2010-08-22 22:02:51 -07:00
Phil Hagelberg
a21362699d Allow Ctrl-d to exit the repl even when it runs in Leiningen's process. 2010-08-22 21:59:34 -07:00
Colin Jones
e2028a4057 Remove eval-without-project 2010-08-22 21:59:34 -07:00
Colin Jones
00ee445cb6 Run non-project REPL in process. 2010-08-22 21:59:34 -07:00
Colin Jones
a59ca8475b ensure project is present if required 2010-08-21 17:12:42 -05:00
Phil Hagelberg
7e0f115c89 Fix install task to expand $HOME. 2010-08-21 09:14:22 -07:00
Phil Hagelberg
1013f342c7 Fix project-needed? to work with projects that may take project arg.
Some arities may, others may not.
2010-08-21 09:13:26 -07:00
Phil Hagelberg
fff60515a7 Fix jar to work with custom shell wrappers. 2010-08-20 18:03:55 -07:00
Colin Jones
6dbfd8b2a9 allow repl outside of a project 2010-08-20 14:56:04 -05:00
Phil Hagelberg
eeb32c8371 Start repl in user ns if no :main is found. 2010-08-20 06:44:34 -07:00
Phil Hagelberg
7efb72f963 Fix help task to ignore hooks. 2010-08-19 20:54:50 -07:00
Phil Hagelberg
fe2927a9f2 Upgrade Leiningen and "new" task to Clojure 1.2.0 stable. 2010-08-19 20:54:28 -07:00
Phil Hagelberg
77d8a5c4ef Document 1.3.0 features. 2010-08-17 22:21:53 -07:00
Phil Hagelberg
a920ab98e5 Added documentation TODOs. 2010-08-16 22:05:24 -07:00
Phil Hagelberg
8b25d5d9ec Update new task and Leiningen itself to use Clojure 1.2.0-RC3. 2010-08-16 21:34:30 -07:00
Perry Trolard
a020b0cf7d Fix infinite loop in core/-main when called w/o args. 2010-08-16 21:21:04 -07:00
Phil Hagelberg
0e189a8da3 Add :omit-source option to leave files in :source-path out of jars. 2010-08-16 13:23:42 -07:00
Phil Hagelberg
3d98a1f291 Use deps fileset to write shell-wrapper classpath. 2010-08-15 21:51:46 -07:00
Phil Hagelberg
4f64c64afb Make repl task listen on a repl socket. 2010-08-15 15:47:01 -07:00
Phil Hagelberg
0773058473 Move mvn-specific bits out into util namespace. 2010-08-14 14:32:14 -07:00
Phil Hagelberg
08ab7b2f89 Use :reload instead of :reload-all in test skeleton. 2010-08-11 18:22:49 -07:00
Phil Hagelberg
a8d7e8903b Use the shell wrapper from resources/ if present rather than templating. 2010-08-10 20:34:45 -07:00
Phil Hagelberg
47c0e611b1 Explain why clojure-test-mode is generally nicer than lein test. 2010-08-10 20:21:19 -07:00
Phil Hagelberg
3bd0e36e7c Standalone install task implemented. 2010-08-10 20:04:57 -07:00
Phil Hagelberg
58cddaa9c8 Copy shell wrappers from jar file to FS on install. 2010-08-09 18:15:49 -07:00
Phil Hagelberg
8012a50c88 Include bin scripts in generated jars when specified in :shell-wrapper. 2010-08-09 18:11:37 -07:00
Phil Hagelberg
0966229899 Clean up make-manifest. Fixes #46. 2010-08-08 16:27:28 -07:00
Phil Hagelberg
d0e1678b34 Wrap checkout-deps read-project with more useful message. Fixes #85. 2010-08-08 14:33:42 -07:00
Phil Hagelberg
9a1ea45d23 Indentation and whitespace fixes. 2010-08-08 13:58:08 -07:00
Phil Hagelberg
0e7599e729 Add support for user-level plugins. 2010-08-08 13:33:04 -07:00
Phil Hagelberg
6625672976 Load user init script on Leiningen launch. 2010-08-08 12:12:19 -07:00
Phil Hagelberg
2247d67e73 Rename :init-script to :repl-init-script; remove global-init-script. 2010-08-08 11:51:28 -07:00
Phil Hagelberg
381b9f0d3a Make arglist check error more explicit. 2010-08-08 11:44:34 -07:00
Phil Hagelberg
7b0054dc86 Merge branch 'alex-init' 2010-08-08 11:31:10 -07:00
Phil Hagelberg
e451e12b55 Clean up argument grouping a bit. 2010-08-08 10:43:14 -07:00
Phil Hagelberg
c706035812 Merge remote branch 'trptcolin/master' 2010-08-08 10:11:36 -07:00
Phil Hagelberg
6db4080a06 Fix help message in interactive task. 2010-08-05 18:45:00 -07:00
Colin Jones
d2942f9feb merge multiple-tasks 2010-08-05 14:24:30 -05:00
Colin Jones
53151e850a Merge remote branch 'origin/master' into project-needed 2010-08-01 21:00:59 -05:00
Colin Jones
18799f2840 Merge remote branch 'origin/master' into multiple-tasks 2010-08-01 21:00:38 -05:00
Colin Jones
76d3d66482 multiple tasks from the command line 2010-08-01 20:58:22 -05:00
Phil Hagelberg
b915c68c6f Add test! task that cleans and runs deps first. 2010-08-01 14:39:39 -07:00
Alex Ott
c9a453d8fd implement support for global initialization script
script is  either $LEIN_HOME/init.clj or $HOME/.lein/init.clj
2010-08-01 17:10:04 +02:00
Alex Ott
e5cc06e11d check existence of init script 2010-08-01 16:27:55 +02:00
Alex Ott
690093eed3 implement loading of init-script specified in project.clj into REPL 2010-08-01 14:32:26 +02:00
Colin Jones
dc4ae5191c task-level arity checking 2010-07-31 16:30:55 -05:00
Colin Jones
7acdf16a29 unifying interactive and normal task calling 2010-07-31 15:58:58 -05:00
Colin Jones
af71f1d529 more robust project-needed decision 2010-07-31 15:41:24 -05:00
Phil Hagelberg
778a522915 Add interactive task. No more waiting around for JVM boot if that's your thing. 2010-07-30 21:17:07 -07:00
Phil Hagelberg
062358093f Indentation fix. 2010-07-30 13:28:40 -07:00
Phil Hagelberg
b5cb0cb52f Don't load hooks unless they're specified in project.clj.
Turn on :implicit-hooks true to get back the old behaviour of scanning
the classpath.
2010-07-30 13:28:18 -07:00
Phil Hagelberg
c461fa75dd Merge remote branch 'lozh/windows-fixes' 2010-07-28 21:54:23 -07:00
Phil Hagelberg
0b0a30e498 Catch exceptions looking for hooks, not just loading them. 2010-07-28 21:35:14 -07:00
Phil Hagelberg
0475ba538f Add resources and test-resources to pom output. 2010-07-28 12:56:18 -07:00
Phil Hagelberg
5c85cdb534 Fix uberjar ns form. 2010-07-28 12:47:45 -07:00
Phil Hagelberg
a15893e9f2 Don't freak out if OS isn't in native-names. Fixes #81. 2010-07-28 12:47:32 -07:00
Phil Hagelberg
f48213d120 Better hooks loading warning message. 2010-07-27 17:50:44 -07:00
Phil Hagelberg
19817504fe Handle missing .class files better in leiningen.compile/stale-namespaces. 2010-07-27 17:49:55 -07:00
Phil Hagelberg
549ddc7bd3 Merge remote branch 'alexott/master'; Fixes #77.
Conflicts:
	src/leiningen/uberjar.clj
2010-07-26 21:54:46 -07:00
Mark McGranaghan
aefd10eeb5 Fix typo breaking uberjar. 2010-07-23 19:30:17 -07:00
Michał Marczyk
29f2ff279b Added "OpenBSD" :openbsd to compile/native-names.
Thanks to tomoj for the fix and to zmyrgel for report & testing.
Also see #81.
2010-07-23 09:09:27 +02:00
Michał Marczyk
ba72808176 s/meta-inf/META-INF/g in jar.clj 2010-07-23 06:50:55 +02:00
Laurence Hygate
9b8cd008c6 Work around problems in Java's handling of windows command line escaping 2010-07-22 19:30:59 +01:00
Phil Hagelberg
78f94180dc Refactor new task. 2010-07-21 23:17:19 -07:00
Phil Hagelberg
2ff9928e13 Refactor deps task. 2010-07-21 23:17:07 -07:00
Phil Hagelberg
45b101d431 Clean up some docstrings. 2010-07-21 23:16:54 -07:00
Phil Hagelberg
bca8cf3a29 Refactor jar and uberjar tasks. 2010-07-21 23:16:25 -07:00
Phil Hagelberg
6c36bbb0da Refactor clean task. Fixes #64. 2010-07-21 23:14:53 -07:00
Alex Ott
e4bb204c1a Fix problem with uberjar 2010-07-21 11:47:39 +02:00
Phil Hagelberg
49ad76d2ca Fix use clause in classpath ns. 2010-07-17 11:24:30 -07:00
Phil Hagelberg
d6c50fbc28 Reverse order of checkout deps vs lib deps in classpath. Fixes #72. 2010-07-17 11:22:17 -07:00
Phil Hagelberg
18f3a5a886 Collapse checkout-deps file into compile.clj. 2010-07-17 11:21:57 -07:00
Phil Hagelberg
71a966be19 Bump to using Clojure beta1 for Leiningen and new projects. 2010-07-17 10:38:55 -07:00
Phil Hagelberg
3234265aac Fix repl to exit properly on ^D char. Fixes #69.
Thanks to Steve Gilardi for the tip.
2010-07-17 10:37:50 -07:00
Allen Rohner
cd4e06d605 Fix pom/make-repository to work after changing deps/make-repository. 2010-07-16 09:36:53 -07:00
Paul Stadig
a434c92098 new command generates test namespace compatible with clojure-test-mode 2010-07-16 09:08:46 -07:00
Phil Hagelberg
101481bf51 Suppress hook-loading warning if lib dir is empty. 2010-07-12 17:41:22 -07:00
Phil Hagelberg
4b95989206 TODO updates 2010-07-11 08:00:48 -07:00
Phil Hagelberg
df79e2e7a1 Preserve order of :aot namespaces list. 2010-07-03 14:22:03 -07:00
Phil Hagelberg
99ed98cad6 Oops; missed local in my let form. 2010-06-26 15:13:36 -07:00
Phil Hagelberg
8eb54a913e Minor cleanup of make-repository. 2010-06-26 14:53:44 -07:00
Allen Rohner
f5064be7d8 Adds support for repositories being maps, adds :username, :password options to the repository map. 2010-06-26 14:48:25 -07:00
Phil Hagelberg
58f85146e3 Merge remote branch 'michalmarczyk/flexible-jar-names'
Conflicts:
	src/leiningen/uberjar.clj
2010-06-25 21:44:27 -07:00
Phil Hagelberg
2ed7339408 Remove unneeded use clause. 2010-06-25 21:39:58 -07:00
Phil Hagelberg
e5c7174f11 Roll back mistaken explicit eval of unquoted defproject args. 2010-06-25 08:03:09 -07:00
Phil Hagelberg
02e97149d7 Rename munge-project-args to eval-unquoted-project.
Also eval unquoted forms rather than passing them through.
2010-06-24 21:59:21 -07:00
Michał Marczyk
8ad14274d3 Fixed whitespace in munge-project-args. 2010-06-24 21:52:28 -07:00
Michał Marczyk
b18c417ba4 Modified defproject to emit unquoted forms verbatim.
This means they are evaluated at runtime. See #49.
2010-06-24 21:52:27 -07:00
Howard M. Lewis Ship
32ceeba111 Recognize a :classifier keyword for dependencies as the Maven classifier
Fixes #58
2010-06-24 20:50:45 -07:00
Phil Hagelberg
99de1160f2 Clean before uberjar, just to be sure. 2010-06-24 11:40:46 -07:00
Michał Marczyk
4fb55619ea Added setting of default jar names through :jar-name & :uberjar-name.
Also added an optional uberjar-name argument to the uberjar task and
factored out the default jar/uberjar naming schemes into separate
functions.
2010-06-24 02:54:55 +02:00
Phil Hagelberg
5adb4f39cc Support uberjar out of non-default directories. Fixes #60. 2010-06-21 19:20:59 -07:00
Phil Hagelberg
3c86ca585c Implicitly clean lib/ before running deps. Fixes #61. 2010-06-21 19:20:37 -07:00
Howard M. Lewis Ship
badf8c4613 Add support for test-only resources
Fixed #53
2010-06-19 21:54:16 -07:00
Phil Hagelberg
99a1a96e1a Add a little more output to uberjar task. 2010-06-16 21:15:31 -07:00
Phil Hagelberg
a64a77bc88 Suppress extra "lein deps" output. 2010-06-16 21:10:27 -07:00
Phil Hagelberg
f6333042c2 Fix #54; make sure all tasks have fn-level docstrings.
This is a workaround for Clojure issue #130.
2010-06-16 19:30:41 -07:00
Phil Hagelberg
c851b81659 Fix #48; clear out lib/dev in lein clean. 2010-06-16 19:10:56 -07:00
Phil Hagelberg
4a7758a2ce Project skeleton cleanup. 2010-06-15 18:59:09 -07:00
Phil Hagelberg
f95028c420 Suppress useless compilation output. 2010-06-15 18:58:53 -07:00
Phil Hagelberg
20315e3b46 Allow compile task to take a list of namespaces as arguments. 2010-06-12 15:28:50 -07:00
Michał Marczyk
c0c4cc8c48 Handle more types of project metadata.
:url, :mailing-list, :mailing-lists, :licence, :license,
:licences, :licenses will now be used in pom.xml if found
in project.clj.
2010-06-12 15:17:01 -07:00
Phil Hagelberg
7d4444455b Remove Leiningen's run-task in favour of Robert Hooke. 2010-06-11 23:03:02 -07:00
Phil Hagelberg
e81fafbc46 Collapse test task into only a single run-tests call. 2010-06-07 18:07:03 -07:00
Artyom Olshevskiy
3e90e44f4c Added FreeBSD to native names in order for lien swank to wark on FreeBSD 2010-06-07 12:45:58 -07:00
Phil Hagelberg
b88d1b487e Some notes. 2010-06-06 21:18:56 -07:00
Phil Hagelberg
c385a3f576 That last commit was definitely the wine talking. 2010-06-06 21:17:48 -07:00
Phil Hagelberg
179c27d281 Fix error message on missing task. 2010-06-06 20:53:37 -07:00
Phil Hagelberg
617b19894b Find dev-dependencies even when :library-path is customized.
Thanks r0man.
2010-06-06 20:52:52 -07:00
Phil Hagelberg
0cecb8aae8 Don't try to deref nil hook atom. 2010-06-06 19:22:25 -07:00
Phil Hagelberg
4ff7dab7eb Keep hooks on the task function itself, genius.
Entia non sunt multiplicanda praeter necessitatem.
2010-06-06 16:51:02 -07:00
Phil Hagelberg
c725770182 Reduce some contrib dependencies. 2010-06-06 16:47:36 -07:00
Phil Hagelberg
915e61a830 Add sample.project.clj showing all honored project keys. 2010-06-05 13:27:04 -07:00
Phil Hagelberg
553eed84cc Make aliases an atom so plugins can change it. 2010-06-05 13:24:04 -07:00
Phil Hagelberg
7c37750bb9 Suppress annoying ant [null] prefix on all output. 2010-06-04 09:09:35 -07:00
Phil Hagelberg
ab70dbeeef Also don't try to read the test results doc if it's empty. 2010-06-02 15:26:38 -07:00
Phil Hagelberg
8667bac839 Don't try to read the test results doc if it doesn't exist. 2010-06-02 14:48:42 -07:00
Phil Hagelberg
ad237271c4 Include arglists in task help output. 2010-05-27 13:08:44 -10:00
Phil Hagelberg
c99d4b5fd8 Make inter-task dependencies honor hooks. 2010-05-27 12:27:40 -10:00
Phil Hagelberg
0f49979eca Allow leaving the repl with ctrl-d. 2010-05-27 12:15:32 -10:00
Phil Hagelberg
18d5290f93 Poll for repl startup.
Still some prompt I/O wackiness with evaling long-running forms.
2010-05-27 11:49:34 -10:00
Phil Hagelberg
f7cf22c010 3/4 of the way to a working socket-based repl task. Take that, Ant! 2010-05-27 11:23:11 -10:00
Phil Hagelberg
5f237bee62 Don't shutdown agents in core; test task can handle that. 2010-05-27 08:43:20 -10:00
Phil Hagelberg
ee7c2da6d1 Default to EPL for new projects. Change it if you like.
There've been a few lein-generated projects that simply omit licensing
data, which is really not a good idea. I'd rather have a sane default
since changing the license is no more bother than adding one.
2010-05-27 08:43:02 -10:00
Phil Hagelberg
cf37e9ca6e Exit subprocess after writing test summary. 2010-05-22 16:56:21 -10:00
Phil Hagelberg
a927403e8e Remove call to flatten. 2010-05-22 15:29:00 -10:00
Phil Hagelberg
c9bd5c6927 Fork unconditionally for now. This helps some things but *breaks* repl.
We need to come up with an alternate approach for the repl task as Ant
simply refuses to implement support for stdin in a forked process:

http://mail-archives.apache.org/mod_mbox/ant-dev/200310.mbox/%3CBAY8-F108GThLvY279700003252@hotmail.com%3E
2010-05-22 15:22:44 -10:00
Phil Hagelberg
2861d1a414 Allow :all hooks to be set. 2010-05-21 17:10:29 -10:00
Phil Hagelberg
8768ddcadc If a task returns an integer value, consider it an exit code.
This will let us play better with hooks. Previously the System/exit
was hardcoded in the test task and couldn't be used by the hooks.
2010-05-21 17:10:24 -10:00
Dan Larkin
0b35d44b46 flatten needs to come from contrib seq-utils 2010-05-21 14:03:58 -10:00
Stuart Halloway
12b4bf10a3 running the test suite should not recompile and reload between tests!
- This appears to have been introduced innocently during a
    refactoring http://github.com/technomancy/leiningen/commit/a9936d22
    It is a crippling bug, making test suites run an order of magnitude 
    slower, as they recompile the entire app between test files.
2010-05-21 13:25:03 -04:00
Phil Hagelberg
7de0b79c09 Write test summary to disk, then read it in test task.
IIIIIIIIIIIIIIIIIIIIIIIIIIICK. Ant's subclassloaderisms are nasty!
2010-05-19 23:55:25 -10:00
Phil Hagelberg
4d2793abdc Revert "Allow eval-in-project to exit the VM."
This reverts commit b969b6cf9e.
2010-05-19 23:25:54 -10:00
Phil Hagelberg
b969b6cf9e Allow eval-in-project to exit the VM.
Ugh; ant's permissions are hairy.
2010-05-19 23:13:18 -10:00
Phil Hagelberg
c84b717705 Add hooks using symbols instead of strings. 2010-05-19 22:23:02 -10:00
Phil Hagelberg
f1e2cf8996 First pass at implementing hooks, inspired by clojure.test fixtures. 2010-05-19 17:13:32 -10:00
Phil Hagelberg
f1ae52a31c Allow :warn-on-reflection to be set in project.clj 2010-05-18 19:35:21 -10:00
Phil Hagelberg
f2214c7b17 Automatically compile and deps in eval-in-project if needed.
The heuristic for whether it's needed is just "is the directory empty
or not", which obviously isn't perfect, but whatever--it's just a
convenience thing.
2010-05-18 19:34:50 -10:00
Phil Hagelberg
4014adf766 NEWS/TODO updates. 2010-05-18 16:24:58 -10:00
Phil Hagelberg
d67d7d7cb9 Allow :jvm-opts to be set in project.clj.
Note: this forces the project to run in a forked JVM, which increases
startup time. Use sparingly.
2010-05-18 15:24:30 -10:00
Phil Hagelberg
7e493d6b46 Allow :fork option to be set in project.clj 2010-05-16 20:43:53 -07:00
Perry Trolard
aec6d3d91f Fix infinite loop when core/-main called with no args. 2010-05-14 22:31:57 -07:00
Phil Hagelberg
b9663abca6 Allow :aot as alternate way to list :namespaces. 2010-05-14 20:37:27 -07:00
Phil Hagelberg
501dfbae7e exits with 1 when tests have failures or errors 2010-05-14 15:55:48 -07:00
Phil Hagelberg
6ef32376bc Allow org.clojure group-id to be omitted from clojure/contrib deps. 2010-05-04 21:59:34 -07:00
Phil Hagelberg
ce0d680e6c Clojure 1.2 update: flatten has been promoted to core. 2010-04-28 20:38:29 -07:00
Phil Hagelberg
39732d5b64 Enough is enough. 2010-04-26 21:24:19 -07:00
Phil Hagelberg
9fd8cb23e7 Quit using that nasty $ESCAPED_ARGS hack for leiningen.core/-main. 2010-04-16 22:34:45 -07:00
Phil Hagelberg
cd4b56972c Keep dev-dependencies in lib/dev, out of the way of uberjar. 2010-04-16 22:24:01 -07:00
Phil Hagelberg
a756c40de7 Re-enable use of checkout-dependencies. 2010-04-16 22:14:33 -07:00
Phil Hagelberg
44b6369aec Move repl task out of shell script, finally! Depends on Clojure ticket #299. 2010-04-16 21:46:53 -07:00
Phil Hagelberg
e886afb457 Upgrade to Clojure 1.2.0-master-SNAPSHOT. 2010-04-16 21:25:59 -07:00
Perry Trolard
d3b479d9df Whitespace change... 2010-04-08 16:58:27 -05:00
Perry Trolard
575405c829 Fix incorrecty formed jarname in uberjar. 2010-04-08 16:49:51 -05:00
Phil Hagelberg
d9246d6c6f More helpful message when no namespaces are configured for compilation. 2010-04-06 22:42:31 -07:00
Phil Hagelberg
5c3667986f Keep jar files in root unless :jar-dir specifies otherwise. 2010-04-06 22:35:59 -07:00
David McNeil
225d4a4ae1 Write jar to the :target-path directory. 2010-04-06 22:31:13 -07:00
David McNeil
036b47d505 Added option to omit-default-repositories. 2010-04-06 22:31:13 -07:00
Phil Hagelberg
8c9e0a7dae Include version number in jar filenames. 2010-04-06 22:22:17 -07:00
Stephen Compall
625c5de55d move classpath-related functions from compile to classpath module 2010-04-06 22:08:33 -07:00
Stephen Compall
ba964458c6 add "classpath" built-in subcommand 2010-04-06 22:06:18 -07:00
Phil Hagelberg
266b254b76 Call read-project from leiningen.core ns. 2010-04-06 22:05:48 -07:00
Phil Hagelberg
28573d093a Implement first run of checkout dependencies. 2010-04-06 21:59:44 -07:00
Phil Hagelberg
417151eb6a Write ns->path and path->ns functions in core. 2010-04-06 21:41:23 -07:00
Phil Hagelberg
b3a794c604 I'm dumb; let some conflicts in. 2010-03-22 20:55:56 -07:00
Phil Hagelberg
0df6f8477d Tweak symlinking of dependent jars. 2010-03-16 21:06:34 -07:00
Richard Newman
0b9fba8395 Make deps generic. Add draft symlink implementation. 2010-03-16 20:58:21 -07:00
Ryan Zezeski
1c9048dbb1 Fix jar task and add test.
The jar task is not correctly building the Main-Class attribute in the
case of multiple hyphens in the namespace.  Fix this and add
regression test.
2010-03-15 21:15:46 -07:00
Stephen Compall
c99d28e7b0 Use on-disk file mod times in generated jars. Allows require to use jar-stored AOT compilations. 2010-03-15 21:02:36 -07:00
abscondment
d11eae7451 Separate version check from form generator; add an optional test-package argument to the from generator. 2010-03-15 20:49:05 -07:00
abscondment
b19d46b6d0 Prevent users of Clojure 1.0 from calling the test task and point them
to the lein-test-is plugin. closes #21
2010-03-15 20:48:50 -07:00
Stuart Halloway
1bbcf902f0 write build config into pom
-  makes pom-as-project work in NetBeans Enclojure
2010-03-15 20:52:57 -04:00
Bobby Calderwood
731f3c5a5a Use Java package naming conventions in Main-Class value of JAR manifest. 2010-03-06 21:48:12 -08:00
Phil Hagelberg
e4e4ff5db7 Don't create single-segment namespaces in the "lein new" skeleton. 2010-02-16 21:57:25 -08:00