Commit graph

1147 commits

Author SHA1 Message Date
Phil Hagelberg
270cf1dec7 Clarify description FIXME in project skeleton. 2011-03-09 19:46:24 -08:00
Phil Hagelberg
c99af38529 Move to lancet as a separate project.
Requires re-running "lein-stable deps" in checkout if you are running
from source.
2011-03-09 19:46:16 -08:00
Phil Hagelberg
beeb8ed154 NEWS updates. 2011-03-06 13:55:35 -08:00
Joe Gallo
1cef468bcd Move test namespaces to leiningen.test.* 2011-03-06 09:41:47 -05:00
Phil Hagelberg
b638ed87f6 Be more careful handling failed downloads in lein upgrade. Fixes #153. 2011-03-03 18:55:36 -08:00
Phil Hagelberg
ee9932ad11 Fix repl in interactive task.
Still a bit of a mystery why we need an extra keypress after exiting
the repl.
2011-03-03 18:55:00 -08:00
Phil Hagelberg
e56e201019 Fix mispaste. 2011-03-03 14:12:39 -08:00
Phil Hagelberg
9cd4dc45f5 Fix repl for :eval-in-project projects. 2011-03-02 22:12:09 -08:00
Phil Hagelberg
6e7aa2629c Place the project jar last in the uberjar. Fixes #178. 2011-03-02 22:10:15 -08:00
Phil Hagelberg
cdc38473f8 Separate :uberjar-exclusions from skip-set for performance. Fixes #160. 2011-03-02 21:54:20 -08:00
Phil Hagelberg
d6fa72818d Suppress reflection warnings for repl task. Fixes #176. 2011-03-01 22:46:41 -08:00
Phil Hagelberg
bef085e52c Revert "User plugins should take precedence on the project's classpath."
This reverts commit f88a7e413d.
Reverting "User plugins should take precedence on the project's classpath."
2011-03-01 22:41:55 -08:00
Phil Hagelberg
84ac3571bf Fix repl-options vector. 2011-03-01 20:25:15 -08:00
Phil Hagelberg
f88a7e413d User plugins should take precedence on the project's classpath. 2011-03-01 09:29:21 -08:00
Phil Hagelberg
4b994497ee Factor out :repl-options handling into its own function. 2011-02-28 20:18:20 -08:00
Phil Hagelberg
b5002a23c2 Rearrange todo.org. 2011-02-28 20:04:46 -08:00
Phil Hagelberg
ef5b7fef6d Fix chaining of tasks. 2011-02-28 20:04:36 -08:00
Phil Hagelberg
33846eddfb Honor :class-file-whitelist to make classes/ deletion more manageable. 2011-02-28 13:55:06 -08:00
Phil Hagelberg
1943be7000 Accept :repl-init ns in favour of :repl-init-script. 2011-02-23 21:17:58 -08:00
Phil Hagelberg
9cc22ac615 Warn when falling back to jline. 2011-02-23 21:17:25 -08:00
Dmitri Iouchtchenko
80964a19d9 Adjust .gitignore creation.
Should only ignore a new project's "lib" or "classes" if they are
directories in the root.
2011-02-21 19:04:05 -05:00
Phil Hagelberg
cc740d04e0 Mention ant stdin bug. 2011-02-18 20:43:29 -08:00
Phil Hagelberg
338dbbc36c Key leiningen-auth by URL instead of repo name. 2011-02-18 20:43:17 -08:00
Phil Hagelberg
d839074a96 Add prepend-tasks for task hooking in simplistic cases. 2011-02-15 20:48:37 -08:00
Phil Hagelberg
dcf210d501 Add flexibility to clean task. 2011-02-15 11:23:52 -08:00
Phil Hagelberg
1c1c8f4229 Fix test-jar and test-pom. 2011-02-13 19:34:53 -08:00
Phil Hagelberg
583431cc06 Continue loading hooks if one happens to fail. 2011-02-13 17:17:06 -08:00
Phil Hagelberg
727781e6bf Don't def project to var named after project. Fixes #147. 2011-02-13 15:07:58 -08:00
Phil Hagelberg
ff58079e37 Remove clojure snapshot dep from test project. 2011-02-13 15:06:42 -08:00
Phil Hagelberg
c962312003 Fix test-pom to watch for abort. 2011-02-13 15:06:32 -08:00
Matjaz Gregoric
edd75979fc Bring jar text up to date with current shell wrappers. 2011-02-12 00:14:20 +01:00
Matjaz Gregoric
e3bf2d0454 Fix test_deploy. 2011-02-11 23:56:52 +01:00
Matjaz Gregoric
dc29f9c3ac Improve self-install error messages with lein.bat. 2011-02-11 23:56:50 +01:00
Jaskirat
846409c9bc Fixed script-template for windows. Made it similar to the shell script so that the %s replacements occur in the right order 2011-02-12 03:47:08 +05:30
Phil Hagelberg
6cc10bc4be s/disable-implicit-clean/disable-deps-clean/. keep backwards-compat. 2011-02-10 20:08:59 -08:00
Phil Hagelberg
c61611882d Fix deploy test. 2011-02-10 20:08:16 -08:00
Phil Hagelberg
d4cc05773f Mention freezing snapshot versions. 2011-02-10 20:07:55 -08:00
Phil Hagelberg
cc4379ff1a Catch errors when requiring tasks in help. Fixes #172. 2011-02-10 19:34:48 -08:00
Phil Hagelberg
cda3806ca6 21st century, mate. 2011-02-10 19:26:15 -08:00
Phil Hagelberg
f4e4c1958d Compojure is grandfathered in. Fixes #164. (close enough)
With the regex factored out into its own def, it can be overcome in
~/.lein/init.clj:

(require 'leiningen.new)
(alter-var-root #'leiningen.new/project-name-blacklist (constantly #"^$"))
2011-01-28 20:21:36 -08:00
Phil Hagelberg
e3bbd8809d Don't checksum the deps unless needed. 2011-01-27 09:11:17 -08:00
Phil Hagelberg
f505317a14 Fix deploy/deps arities. 2011-01-26 10:38:13 -08:00
Phil Hagelberg
15ff6b1170 A few doc changes. 2011-01-24 19:42:38 -08:00
Phil Hagelberg
27f0f36030 Suppress socket closed exceptions in interactive tasks.
This requires heinous hackery! It appears the only way to get out of
clojure.main/repl is by sending an EOF character, but there doesn't
seem to be a way to do that over sockets; you can only close
sockets. Reading from a closed socket results in an exception, so we
rebind clojure.main/skip-whitespace, which is where the reading
happens, to a function that fakes an EOF if it sees an IOException.

We also have to pass in a custom :caught function to suppress
SocketExceptions since the clojure.main/repl will continue to attempt
to perform I/O on the socket even once we are done with it.
2011-01-24 19:42:17 -08:00
Phil Hagelberg
bf08da5742 New project skeletons don't need contrib. 2011-01-24 19:39:01 -08:00
Phil Hagelberg
781ec86f18 Fix deploy task to use :repositories for configuration.
No more separate :deploy-to configuration.
2011-01-24 19:38:28 -08:00
Phil Hagelberg
0ecfbe150d First pass at fixing infinite loop in interactive task.
Still need to suppress exception output from clojure.main. Hard to
debug since we are turning off *err* on purpose and the problem
doesn't occur when we leave *err* alone.
2011-01-22 10:11:23 -08:00
Phil Hagelberg
abb6f2b53b Make bin/lein compatible with old Bourne shell.
Thanks to Don Jackson.
2011-01-22 10:06:24 -08:00
Phil Hagelberg
fdec5685f3 Don't send stderr to the socket repl. 2011-01-21 12:57:08 -08:00
Phil Hagelberg
3c738ce443 Merge remote branch 'mattrepl/master' 2011-01-20 22:15:59 -08:00