Colin Jones
|
9b437c4c2a
|
Pass the task var around to avoid extra lookups.
|
2010-10-26 22:46:55 -05:00 |
|
Colin Jones
|
053761774b
|
Move plugin's subtask help mechanism to the help ns.
|
2010-10-26 22:36:57 -05:00 |
|
Joe Gallo
|
bd3675b3aa
|
Add verbose DEBUG output of errors initializing hookes.
|
2010-10-26 19:27:01 -07:00 |
|
Colin Jones
|
8c703034b0
|
Remove quote typo.
|
2010-10-25 21:03:36 -05:00 |
|
Phil Hagelberg
|
35c9e4fee9
|
Make plugin help get picked up by help task.
|
2010-10-25 18:54:25 -07:00 |
|
Phil Hagelberg
|
a423d5a304
|
Allow tasks to provide their own help function.
|
2010-10-25 18:53:05 -07:00 |
|
Michael D. Ivey
|
4be3d03c48
|
Merge Colin Jones' lein-plugin plugin for managing plugins
This is Colin's plugin.clj plus a few tests.
|
2010-10-25 18:09:11 -07:00 |
|
Phil Hagelberg
|
f732bfeebf
|
Support :eval-in-leiningen key in project.clj for plugins.
|
2010-10-24 14:28:26 -07:00 |
|
Phil Hagelberg
|
de27390d1b
|
Don't create new skeleton in root. Expose leiningen.original.pwd.
|
2010-10-23 13:22:11 -07:00 |
|
Phil Hagelberg
|
7c60a884ae
|
Use an arrow in leiningen.help/tasks. Keep it under 80 cols.
|
2010-10-22 12:19:02 -07:00 |
|
Sergio Arbeo
|
af5d843793
|
Avoid duplication in tasks list in help task
|
2010-10-22 08:06:59 -07:00 |
|
Phil Hagelberg
|
d68d47e620
|
Define ant-project earlier in lancet.
|
2010-10-19 14:10:13 -07:00 |
|
Allen Rohner
|
b966b660e3
|
Second attempt at the maven reporting bug, Resolves #112
|
2010-10-18 21:07:21 -07:00 |
|
Phil Hagelberg
|
d01365c852
|
Call javac where appropriate in compile task.
|
2010-10-16 09:44:21 -07:00 |
|
Phil Hagelberg
|
72270396a4
|
Mostly todos.
|
2010-10-16 09:35:35 -07:00 |
|
Phil Hagelberg
|
adc106e6c8
|
Add javac task.
|
2010-10-16 09:01:01 -07:00 |
|
Phil Hagelberg
|
327d01dd38
|
Don't use keep.
|
2010-10-16 09:00:53 -07:00 |
|
Phil Hagelberg
|
d3f8aba84c
|
Handle crazy OS X case where read-line doesn't return nil on EOF.
|
2010-10-05 20:55:05 -07:00 |
|
Phil Hagelberg
|
a57c55816b
|
Use read-line instead of read in repl-client.
|
2010-10-05 12:45:00 -07:00 |
|
Phil Hagelberg
|
6b7a9f7c53
|
Revert privatization of internal functions.
We'll wait for Leiningen 2.0 to introduce breaking changes.
|
2010-10-03 14:03:28 -07:00 |
|
Phil Hagelberg
|
69f8b7d6cd
|
Add exit command to interactive task.
|
2010-10-01 19:32:28 -07:00 |
|
Phil Hagelberg
|
d446be077b
|
Support init form in eval-in-project.
See for motivation:
http://groups.google.com/group/clojure/browse_thread/thread/c0964575e00e20c4
|
2010-10-01 19:32:21 -07:00 |
|
Phil Hagelberg
|
66a8534321
|
Flush repl I/O in a separate thread; closes #71.
|
2010-10-01 19:31:00 -07:00 |
|
Phil Hagelberg
|
ee88770ab8
|
Assoc the var onto the metadata for test selectors.
|
2010-09-25 13:31:06 -07:00 |
|
Phil Hagelberg
|
b13efc5cbd
|
Test selectors may be customized in project.clj.
|
2010-09-24 21:32:12 -07:00 |
|
Phil Hagelberg
|
f72bdff365
|
Primitive test selectors
|
2010-09-24 19:22:50 -07:00 |
|
Phil Hagelberg
|
acc9a828e5
|
Specify what file patterns to exclude from jars. Thanks to Zehua Liu.
|
2010-09-23 22:45:57 -07:00 |
|
Phil Hagelberg
|
ceec0be5a6
|
Parent support in pom task. Don't ask. =\
|
2010-09-21 22:24:01 -07:00 |
|
Phil Hagelberg
|
2241667c54
|
80 columns please!
|
2010-09-21 20:17:12 -07:00 |
|
Sergio Arbeo
|
5607761edf
|
Now, help output is sorted.
|
2010-09-21 00:32:27 +02:00 |
|
Colin Jones
|
2e0589ccb6
|
Unprivate for lein-plugin.
|
2010-09-18 14:13:06 -05:00 |
|
Hugo Duncan
|
004098b94b
|
Fixes for lein install, due to new scoping of functions
|
2010-09-10 09:14:40 -07:00 |
|
Phil Hagelberg
|
49dced163e
|
Unprivate a few more maven util functions.
|
2010-09-09 17:58:25 -07:00 |
|
Phil Hagelberg
|
cd7ed1fb0f
|
Dang; no defmacro- yet.
|
2010-09-09 11:40:54 -07:00 |
|
Phil Hagelberg
|
c1c0565cbe
|
Separate private/internal functions from public API.
|
2010-09-08 21:05:03 -07:00 |
|
Phil Hagelberg
|
2ea4b63e58
|
Release 1.3.1.
|
2010-09-07 18:54:35 -07:00 |
|
Phil Hagelberg
|
6ca18c8d47
|
Tighten up regex support in :aot declaration with a list comprehension.
|
2010-09-07 18:48:42 -07:00 |
|
Alex Ott
|
a73a079315
|
move separate function into source code
|
2010-09-07 18:21:57 -07:00 |
|
Alex Ott
|
92da21717b
|
allow to use regex (or string with regex) to specify which namespaces should be compiled
|
2010-09-07 18:21:55 -07:00 |
|
Phil Hagelberg
|
c52f044e70
|
Documentation updates preparing for 1.3.1.
|
2010-09-07 15:57:38 -07:00 |
|
Phil Hagelberg
|
0ebf1bd773
|
Replace dots with slashes in ~/.m2 path. Fixes #104.
|
2010-09-05 15:11:50 -07:00 |
|
Phil Hagelberg
|
e24acd49cd
|
Actually, pipe standalone install through deps, not regular install.
|
2010-09-05 14:36:13 -07:00 |
|
glynnm
|
74547696b0
|
Fix for :repl-init-script. Change (File. str) to (File. (str is#))
|
2010-09-05 14:21:40 -07:00 |
|
Phil Hagelberg
|
e060fcadc1
|
Pipe standalone install through regular instal to get deps.
|
2010-09-05 13:35:27 -07:00 |
|
Phil Hagelberg
|
3ff5d762e0
|
Don't skip-dev when getting deps in jar task.
Memoize: it's your friend!
|
2010-08-31 13:52:17 -07:00 |
|
Brendan Ribera
|
ace2c31d0e
|
Update docstring for 'clean'. Fixes #103.
|
2010-08-31 11:54:55 -07:00 |
|
Phil Hagelberg
|
18ef7b3825
|
Oops; swapped the order of the repl host/port.
|
2010-08-31 10:49:55 -07:00 |
|
Phil Hagelberg
|
b17731b748
|
Failing test case for standalone-install bug.
|
2010-08-30 22:11:18 -07:00 |
|
Phil Hagelberg
|
dad7910664
|
Oh man, what was I even thinking there.
|
2010-08-30 21:11:00 -07:00 |
|
Phil Hagelberg
|
05dcde055b
|
Remove unnecessary do form in defproject.
|
2010-08-30 20:42:14 -07:00 |
|
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 |
|