Commit graph

1028 commits

Author SHA1 Message Date
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
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
70dc18aebb Switch test project to not use missing Clojure snapshot. 2010-12-13 22:45:02 -08:00
Phil Hagelberg
9ab508e0b8 Make :deps/:dev-deps aliases for :dependencies/:dev-dependencies. 2010-12-12 20:38:15 -08:00
Colin Jones
37b7d2e602 Clean up after test runs. 2010-12-11 11:52:09 -06: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
a47bc71b79 Fix a test that wasn't testing anything. 2010-12-09 22:01:08 -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
fd61cd5bae Wrap leiningen.original.pwd in quotes. Fixes #143. 2010-12-09 12:46:33 -08:00
Phil Hagelberg
b66a046609 Fix tests to reflect sample project version change. 2010-12-09 12:46:33 -08:00
Phil Hagelberg
de9c54fac2 Mention :keep-non-project-classes in sample.project.clj. 2010-12-09 12:46:33 -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
e0cc603fba Bump to version 1.4.1-SNAPSHOT. 2010-12-09 12:46:33 -08:00
Matjaz Gregoric
dba3a51bdc Update README to point to the latest windows distribution. 2010-12-09 21:18:37 +01:00
Phil Hagelberg
b3e113f211 Release 1.4.0. 2010-12-02 18:29:06 -08:00