Commit graph

848 commits

Author SHA1 Message Date
Phil Hagelberg
3c738ce443 Merge remote branch 'mattrepl/master' 2011-01-20 22:15:59 -08:00
Travis Vachon
30e197f8cc Add logic to create checksum file after creating dependencies
This means that deps won't even try to resolve dependencies
after the first time unless they've changed or the lib dir is empty.
2011-01-21 00:29:07 -05:00
Travis Vachon
b40b8575d4 Add ant-nodeps as a dependency to pull in symlink task
The symlink task appears to have moved to ant-nodeps in ant 1.7.1,
which means that :jar-strategy :symlink is currently broken. Add
ant-nodeps as a dependency to get this working again.
2011-01-21 00:29:07 -05:00
Phil Hagelberg
e462e6fe27 The *jure check needs to be case-insensitive. Thanks to kencausey. 2011-01-20 21:22:44 -08:00
Matt Revelle
33ef2ca981 Fix case of not finding :deploy-to when no options are provided. 2011-01-20 22:44:07 -05:00
Matt Revelle
9ee9fd1784 Merged auth support for deps with latest from master. 2011-01-20 16:20:50 -05:00
Phil Hagelberg
de46c1651f Set includeantruntime to false for javac task. 2011-01-19 21:33:26 -08:00
Phil Hagelberg
0cf736a5d6 Fix deploy test. 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
Matt Revelle
76cc24050d Moved make-auth to leiningen.deps from leiningen.deploy. Modified leiningen.deps/make-deps-task to use make-auth. 2011-01-15 18:56:26 -05:00
Phil Hagelberg
ee6736a3f3 Add pcmpl-lein.el for eshell completion. 2011-01-15 10:38:41 -05:00
Phil Hagelberg
31e5c6fef8 Update bash completion with latest task list. 2011-01-15 09:23:13 -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
Matjaz Gregoric
3426e037b9 Make user-specified %CLASSPATH% take priority. 2011-01-14 20:03:56 +01:00
Phil Hagelberg
e38f8bfa91 Make user-specified $CLASSPATH take priority. 2011-01-14 12:02:01 -05:00
Phil Hagelberg
1c82f852fc Fix docstring for clean task. 2011-01-14 09:42:52 -05:00
Phil Hagelberg
13cf7101d4 Update NEWS for 1.5.0 features. 2011-01-13 22:30:35 -05:00
Phil Hagelberg
c112f60724 Add test for deploy task. 2011-01-13 22:30:24 -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
Phil Hagelberg
479c2671ba Bump version to 1.5.0-SNAPSHOT. 2011-01-13 15:27:01 -05:00
Joe Gallo
7c6275edd7 Make lein test! able to handle nses 2011-01-13 10:03:41 -05:00
Phil Hagelberg
bf7685b4d3 Update copyright year in readme. 2011-01-12 18:59:39 -05:00
Joe Gallo
26bdace257 Use the current year for the README 2011-01-12 18:30:20 -05:00
Matjaz Gregoric
f95b4b1e12 Update README to point to the latest Windows release. 2011-01-01 22:55:56 +01:00
Phil Hagelberg
6a1572f478 Release 1.4.2. 2010-12-31 22:22:56 -08:00
Phil Hagelberg
0c6cc27eb6 Honor init form in eval-in-project. Fixes #152. 2010-12-31 22:22:56 -08:00
Liu Zehua
bd22c0d4b1 Added .gitattributes to avoid autocrlf for bat files 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
Matjaz Gregoric
6cdd04949d Switch from JAVA_OPTS to JVM_OPTS in windows batch scripts.
Keep JAVA_OPTS for backwards compatibility.
2010-12-25 09:41:49 +01: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
Phil Hagelberg
19b44647cc Rework some of sample.project.clj. 2010-12-24 20:48:10 -08:00
Phil Hagelberg
65a2dc461b Switch from JAVA_OPTS to JVM_OPTS. The former retained as an alias for now. 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
Matjaz Gregoric
b61da8cdb1 Make lein.bat save self-install jars into LEIN_HOME 2010-12-18 11:20:34 +01:00
Matjaz Gregoric
6bab430a4e Enable extensions in lein.bat. 2010-12-18 10:43:11 +01:00
Matjaz Gregoric
637a05ccc0 Fix a lein.bat bug when run from the root folder.
When running lein commands from the root folder on windows (such as "C:\"),
special care needs to be taken to escape the final backslash.
2010-12-18 10:12:36 +01:00
Matjaz Gregoric
24b2403a4b Fix a bug in lein.bat when LEIN_DIR contains parens.
lein.bat would fail to run when installed into a folder whose path name
contains parentheses (such as "Program Files (x86)").
2010-12-18 09:37:17 +01:00
Matjaz Gregoric
95d8be568f Let plugins take precedence in lein.bat when running from checkout. 2010-12-17 09:09:37 +01:00
Matjaz Gregoric
a7240bf625 Update README to point to the latest windows release. 2010-12-17 09:07:38 +01:00
Phil Hagelberg
a246815bf4 Release 1.4.1. 2010-12-16 21:41:44 -08:00
Phil Hagelberg
f999dd890d Update NEWS for 1.4.1. 2010-12-16 21:28:36 -08:00
Phil Hagelberg
9f12894edb Fix bug where plugins didn't take precedence in lein checkouts. 2010-12-15 20:38:27 -08:00
Phil Hagelberg
c960e5f2f3 Allow boosting :repl-retry-limit in project.clj for slow-starting projects. 2010-12-14 21:56:28 -08:00
Matjaz Gregoric
1dd6b7f72e Point to the fixed windows zip file in README. 2010-12-14 09:04:04 +01:00
Phil Hagelberg
c5c760329b Add a test for :skip-aot on :main. Fixes #145. 2010-12-13 22:56:10 -08:00