Phil Hagelberg
e462e6fe27
The *jure check needs to be case-insensitive. Thanks to kencausey.
2011-01-20 21:22:44 -08:00
Phil Hagelberg
de46c1651f
Set includeantruntime to false for javac task.
2011-01-19 21:33:26 -08:00
Phil Hagelberg
201f0b6249
Add version to script wrappers.
2011-01-19 21:33:26 -08:00
Travis Vachon
27c631aa24
Fix bug in classpath task when checkout project uses custom paths
...
Custom {source,compile,resource}-paths in a checkout project would not
be absolute, which meant checkout projects would not be on the
classpath as expected.
Fix this by ensuring that paths extracted from checkout dependencies
are always absolute.
2011-01-18 22:50:55 -05:00
Phil Hagelberg
e30a38d549
Skip fetching deps unnecessarily when :checksum-deps is set.
2011-01-15 09:23:03 -05:00
Phil Hagelberg
0cf1ddf024
Separate :snapshots and :releases repository URLs in project.clj.
...
Plane commit; woo!
2011-01-15 08:53:03 -05:00
Phil Hagelberg
48109fa593
Set $PROJECT.version as system property. Fixes #156 .
2011-01-14 15:23:58 -05:00
Phil Hagelberg
1c82f852fc
Fix docstring for clean task.
2011-01-14 09:42:52 -05:00
Phil Hagelberg
59e18bb485
Add deploy task.
...
Works great with file:// repositories, OK with http://, and not at all
with scp://.Commit rough deploy task; still need to bridge maven and ant APIs.
2011-01-13 15:29:19 -05:00
Phil Hagelberg
1de07c9e45
Reload tests in interactive mode.
2011-01-13 15:27:11 -05:00
Joe Gallo
7c6275edd7
Make lein test! able to handle nses
2011-01-13 10:03:41 -05:00
Joe Gallo
26bdace257
Use the current year for the README
2011-01-12 18:30:20 -05:00
Phil Hagelberg
0c6cc27eb6
Honor init form in eval-in-project. Fixes #152 .
2010-12-31 22:22:56 -08:00
Phil Hagelberg
78384ba6da
Fix condition in native-path calculation. Thanks to wburke.
2010-12-31 22:22:56 -08:00
Phil Hagelberg
b4943e1caa
Allow :clean-non-project-classes to be a seq of regexes.
2010-12-24 21:24:34 -08:00
Phil Hagelberg
665ab9afc3
Add sample.project.clj to static-help pages.
2010-12-24 20:48:10 -08:00
Alex Osborne
3f299cc560
Fix lein run first argument bugs.
...
There were three related problems:
1) The first argument was always parsed with read-string, even
when defaulting to the :main namespace. This caused
non-numeric first arguments to throw:
Exception in thread "main" java.lang.Exception: Unable to
resolve symbol: foo in this context
Avoid read-string entirely and update the unit tests to use an
unreadable string instead of a number to make the problem obvious.
This problem was reported by Marek Kubica on the Clojure
mailing list.
2) When using an alias the alias keyword was passed to -main as the
first argument. This is inconsistent with how the -m and :main
simply pass the program arguments, not the namespace or -m flag.
3) There was no way to pass "-m" or a string beginning with ":"
as a first argument to the run program. Added "--" as an option
to escape these.
2010-12-24 23:41:23 +11:00
Phil Hagelberg
c960e5f2f3
Allow boosting :repl-retry-limit in project.clj for slow-starting projects.
2010-12-14 21:56:28 -08:00
Phil Hagelberg
c4271c07c6
Switch off :clean-non-project-classes by default. Fixes #141 .
2010-12-13 22:49:31 -08:00
Phil Hagelberg
1ee9d5d73c
Allow :main to not trigger AOT with :skip-aot metadata.
2010-12-13 22:47:31 -08:00
Phil Hagelberg
68737acdab
Indentation for native-names.
2010-12-13 22:45:14 -08:00
Phil Hagelberg
9ab508e0b8
Make :deps/:dev-deps aliases for :dependencies/:dev-dependencies.
2010-12-12 20:38:15 -08:00
Colin Jones
ab0b046528
Unshadow clojure.core/name to get tests passing again.
2010-12-11 11:46:43 -06:00
Colin Jones
a4a517b990
Fix argument order for install & plugin install.
...
This was breaking installs of things like
org.clojars.trptcolin/libthrift (where the group ID had
periods).
2010-12-11 11:27:14 -06:00
Phil Hagelberg
a8349c1a7e
Support setting clojure.debug system property.
2010-12-09 22:06:47 -08:00
Matjaz Gregoric
e228b91ff5
Make paths absolute when reading project.clj.
...
Relative paths are assumed to be relative to the root of the project.
2010-12-09 22:01:08 -08:00
Phil Hagelberg
cc62c1a818
Don't allow release versions that depend upon snapshots.
2010-12-09 12:46:33 -08:00
Phil Hagelberg
887d75de52
Fail correctly in chained tasks.
2010-12-09 12:46:33 -08:00
Phil Hagelberg
8bb9f39a7c
Fix exit code of test! task.
2010-12-09 12:46:33 -08:00
Phil Hagelberg
b3fe397891
Switching all Github URLs to https.
2010-12-02 18:16:25 -08:00
Phil Hagelberg
baf1083dd4
No need to skip dev-deps when creating jar.
2010-12-02 18:09:45 -08:00
Phil Hagelberg
b32780d9f0
Support static docs in help task. (readme, tutorial, news, licensing.)
2010-12-01 22:11:53 -08:00
Phil Hagelberg
c10769d857
No quotes on repl start message.
2010-11-27 13:52:32 -08:00
Phil Hagelberg
f3165d686d
Conditionally exit after test runs only.
2010-11-26 14:39:33 -08:00
Phil Hagelberg
2ac42819c7
Revert *exit-when-done* addition. Too drastic.
2010-11-26 14:37:01 -08:00
Phil Hagelberg
c444d4e4e9
Recanting the error of my ways: import classes belong in (), not [].
...
See http://p.hagelb.org/import-indent.html for justification.
2010-11-24 20:59:16 -08:00
Phil Hagelberg
172adf89a2
Move try/catch from repl task to eval-in-project.
2010-11-24 20:46:54 -08:00
Phil Hagelberg
e93933730a
Don't try to set ns in repl-server form.
2010-11-24 20:46:27 -08:00
Phil Hagelberg
2ac3825c36
Alias classpath to cp.
2010-11-24 20:26:11 -08:00
Phil Hagelberg
801ea2bdf0
Catch exceptions in tasks in interactive task.
2010-11-24 18:28:58 -08:00
Phil Hagelberg
aed1a4b0c2
Don't exit after eval in repl task either.
2010-11-24 18:26:17 -08:00
Phil Hagelberg
94790ce255
Exit after tasks finish when not in interactive task.
2010-11-24 13:11:44 -08:00
Phil Hagelberg
619262621a
Turns out has-source-package is not a good enough keep-class? heuristic.
...
Fixes #139 .
2010-11-23 20:28:54 -08:00
Phil Hagelberg
3c5fecfe98
Fix path issue in javac task. Fixes #138 .
2010-11-23 20:11:58 -08:00
Phil Hagelberg
0d6aa48fc7
Update help task to use short summaries.
2010-11-23 10:55:39 -08:00
Phil Hagelberg
c546aaf907
Prevent repl task from exiting lein interactive.
2010-11-20 20:27:19 -08:00
Phil Hagelberg
6d291da490
Fix zero-arg run task case.
2010-11-20 17:25:06 -08:00
Phil Hagelberg
9a57aa246a
Nicer prompt interaction.
2010-11-20 17:12:00 -08:00
Phil Hagelberg
02fd437669
Better heuristic for when to close the socket in interactive tasks.
2010-11-20 17:12:00 -08:00
Colin Jones
9eecaf3fa0
Update plugin task's use of write-components to use new arity.
2010-11-20 15:01:45 -06:00