Commit graph

931 commits

Author SHA1 Message Date
Phil Hagelberg
e66622a8e2 Fix post-AOT cleanup to use package-based deletion heuristic.
We had it so every .class file had to correspond with a .clj file in
src/, but sometimes there are outliers that don't match up. So instead
we now ensure that there's a directory in src/ that matches the
package of each .class file.
2010-11-02 21:45:15 -07:00
Joe Gallo
b837ebc20a Changed error message when missing required project. 2010-11-02 10:46:24 -04:00
Colin Jones
4af798d959 Allow :dev-dependencies without :dependencies. 2010-10-31 13:41:28 -04:00
Phil Hagelberg
a0656b05c4 Update NEWS file for upcoming 1.4 release. 2010-10-30 13:15:51 -07:00
Phil Hagelberg
28faed0021 TODO updates. 2010-10-30 13:15:51 -07:00
Phil Hagelberg
73cc0b5094 Add delete-non-project-classes to compile task. 2010-10-30 13:15:51 -07:00
Phil Hagelberg
e27f228e17 Forgot a test file. 2010-10-30 13:15:51 -07:00
Matjaz Gregoric
748d5ce76c Use a backslash instead of a forward slash. 2010-10-30 10:00:08 +02:00
Matjaz Gregoric
dae65b59e0 Allow for spaces in LEIN_HOME. 2010-10-30 08:10:01 +02:00
Matjaz Gregoric
cf24a972bd Allow customization with JAVA_CMD and JAVA_OPTS. 2010-10-30 08:03:14 +02:00
Matjaz Gregoric
d18f5c4b47 Don't use JLine when inside_emacs. 2010-10-30 08:03:12 +02:00
Matjaz Gregoric
5da11332af Use JLine in repl and interactive tasks. 2010-10-30 08:03:11 +02:00
Matjaz Gregoric
e05bb7913c Simplify argument handling with the %* special variable. 2010-10-30 08:03:10 +02:00
Matjaz Gregoric
b80003b933 Add leiningen plugin locations to the classpath. 2010-10-30 08:03:09 +02:00
Matjaz Gregoric
9b3126d7ee Avoid a goto statement. 2010-10-30 08:03:08 +02:00
Matjaz Gregoric
6bb95ba166 Move setLocal command higher up the file. 2010-10-30 08:03:07 +02:00
Matjaz Gregoric
30584eabe6 Convert lein.bat to DOS-style line endings. 2010-10-30 08:03:03 +02:00
Matthew Maravillas
7e157036f8 Set LEIN_JAR before handling args 2010-10-30 08:00:32 +02:00
Colin Jones
3c473d9fa6 Allow for spaces in LEIN_JAR path in lein.bat. 2010-10-28 23:43:42 -05:00
Phil Hagelberg
2ab1d4cebc Rename first-arg -> flag. 2010-10-28 21:18:52 -07:00
Phil Hagelberg
063baba0aa Add run task plus rudimentary tests. 2010-10-28 21:12:24 -07:00
Phil Hagelberg
b5adf254a5 Add local-repo-path as a top-level def for customization. 2010-10-28 19:13:03 -07:00
Phil Hagelberg
ac60070f62 Don't bother running deps task if there aren't any dependencies. 2010-10-28 19:12:29 -07:00
Colin Jones
07072396b4 Add one more subtask-help test. 2010-10-26 23:45:19 -05:00
Colin Jones
18e69ea035 Add some tests around subtask help formatting. 2010-10-26 23:32:42 -05:00
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
Travis Vachon
7b922eab68 Fix ant group name
Apparently the group name changed between 1.6 and 1.7.1. I believe I
noticed this but neglected to update the pull request, as I had a
local commit where this was fixed.

Ran lein deps and lein test and confirmed this makes everything click.
2010-10-26 12:19:52 -04:00
Travis Vachon
3a96bb1002 Upgrade to Ant 1.7.1 and exclude version from maven-ant-tasks
This is a personal itch, driven by a desire to use a task
incompatible with 1.6.5 [ant-deb-task].

Testing over the course of the day suggests that the problems
noted here:

http://groups.google.com/group/leiningen/browse_thread/thread/3a0118282d0394b0/a65645fca0f6f73c?lnk=gst&q=ant#a65645fca0f6f

don't seem to be happening anymore.

A brief attempt to use 1.8.1 ended in tears. Without doing much
research, it looks like lancet or leiningen will need to be
updated to work with that version.
2010-10-25 23:32:51 -07:00
Colin Jones
8c703034b0 Remove quote typo. 2010-10-25 21:03:36 -05:00
pm-bauer
434482b4a2 Added quote marks around CLASSPATH variable to fix parsing error in cygwin. 2010-10-25 18:59:02 -07:00
Phil Hagelberg
c4184c6ef7 Add eval-in-leiningen to project.clj. 2010-10-25 18:54:37 -07: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
663d26a674 Move some TODOs to 2.0. Let's not get ahead of ourselves. 2010-10-25 18:07:02 -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
1551ebc5b1 Lock to Clojure 1.3.0-alpha1 while the dust settles. 2010-10-24 12:36:53 -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
13520dba00 Add password-protected repository in sample.project.clj. 2010-10-22 07:35:22 -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