Phil Hagelberg
87753f890f
Include :all test selector by default.
2010-11-18 21:53:09 -08:00
Phil Hagelberg
a6d0a174df
I love reduce, but it's not appropriate here.
2010-11-18 21:40:02 -08:00
Phil Hagelberg
e85e3901ee
Doco updates.
2010-11-18 21:39:44 -08:00
Phil Hagelberg
c85aaf83a5
Merge remote branch 'mtyaka/windows-updates'
...
Conflicts:
src/leiningen/jar.clj
test/test_jar.clj
2010-11-18 21:21:05 -08:00
Phil Hagelberg
69ee0273b8
Solaris compatibility; thanks Licenser.
2010-11-18 20:32:22 -08:00
Matjaz Gregoric
1b2e9703d3
Print an error message when plugin uninstall fails.
...
Windows is strict when it comes to file locking
and so doesn't let leiningen delete its own plugin jar files.
Print an error message when uninstallation fails.
2010-11-18 11:09:53 +01:00
Matjaz Gregoric
6b6a30a148
Use a platform dependent tmp folder.
2010-11-18 11:09:51 +01:00
Matjaz Gregoric
f227cd5d88
Modify script-template to be able to run on cygwin.
2010-11-18 11:09:49 +01:00
Matjaz Gregoric
0a6ec18e0d
Add support for windows .bat wrappers.
2010-11-18 11:09:48 +01:00
Matjaz Gregoric
09e4881bd0
Set working directory in eval-in-project.
...
Not setting it can lead to some hard to debug test failures
when a previously set working directory of lancet/ant-project is used.
2010-11-18 11:09:46 +01:00
Matjaz Gregoric
412cad7fdc
Make sure paths in the shell wrapper are unix-style.
2010-11-18 11:09:45 +01:00
Matjaz Gregoric
2fe29e52a9
Work around a RuntimeMXBean bug.
...
RuntimeMXBean.getInputArguments is buggy when an input argument contains spaces.
For an input argument of "-Dmyprop=hello world" it returns two arguments, split at the
space: "-Dmyprop=hello" and "world".
This causes eval-in-project to fail in spectacular ways when leiningen.original.pwd
contains spaces or when path to the clojure jar that gets passed to -Xbootclasspath
contains spaces (which it does by default on Windows XP).
2010-11-18 11:09:44 +01:00
Matjaz Gregoric
1c166b15e5
Use a more portable way of getting user's home folder.
2010-11-18 11:09:42 +01:00
Matjaz Gregoric
f4d254e04c
Use windows-style paths when running on windows.
...
This makes path handling easier and fixes a failing test on windows.
2010-11-18 11:09:41 +01:00
Matjaz Gregoric
d0098d7ec5
Let the test! task run under lein.bat.
...
Due to delayed expansion enabled, the bang would get lost and
test! would get interpreted as test.
Fix this by disabling delayed expansion before running the command.
2010-11-18 11:02:31 +01:00
Matjaz Gregoric
ac90018d70
Use the -Xbootclasspath trick in lein.bat.
...
This cuts lein startup time from 2.5 seconds
down to 1.5 on Vista.
2010-11-18 11:02:30 +01:00
Phil Hagelberg
682b514052
Place user plugins after lib/ on the classpath.
...
User plugins are uberjars now, so if you had swank-clojure in
~/.lein/plugins you were locked to its version of Clojure, etc.
2010-11-13 11:16:49 -08:00
Phil Hagelberg
f41c5af1ac
Fix jar task for projects with no dependencies. Fixes #123 .
2010-11-13 11:03:01 -08:00
Phil Hagelberg
e75c6d32b1
Better unquote testing.
2010-11-11 21:37:09 -08:00
Phil Hagelberg
26f315fbc2
Deprecate :jar-dir in favour of :target-dir.
2010-11-11 10:37:00 -08:00
Phil Hagelberg
a50cef373d
bin/lein placement notes.
2010-11-10 20:49:45 -08:00
Phil Hagelberg
ba3d4db49f
Don't allow JLINE env var to mess up lein run. Fixes #131 .
2010-11-10 14:06:30 -08:00
Phil Hagelberg
a53e419f4c
Expand on bootstrap instructions.
2010-11-10 14:05:59 -08:00
Phil Hagelberg
742738d9d2
Fix unquote-project to preserve forms in test-selectors.
2010-11-10 14:05:42 -08:00
Phil Hagelberg
38347be0fc
Allow test selectors and namespaces to be specified in the same run.
2010-11-10 13:10:49 -08:00
Phil Hagelberg
fa2a0a0f47
Mention features for 1.4 in tutorial/plugin docs.
2010-11-09 22:20:22 -08:00
Phil Hagelberg
1777267207
Test fixes.
2010-11-09 13:08:51 -08:00
Phil Hagelberg
51fd53b8b1
Show exceptions reading test namespaces. Fixes #127 .
2010-11-09 13:08:29 -08:00
Phil Hagelberg
d176fa348f
Fixes for bootstrap classpath in :eval-in-leiningen.
2010-11-09 13:07:21 -08:00
Phil Hagelberg
589b38b4ff
Factor out read-args function in test task.
2010-11-08 13:36:58 -08:00
Phil Hagelberg
86b281eb14
Better error message when you don't nest dependencies correctly.
...
Thanks to abedra for "reporting" this bug. =)
2010-11-08 13:34:55 -08:00
Phil Hagelberg
acf9b100e1
Don't need to generate "Installation" section in skeleton readme.
2010-11-08 13:34:36 -08:00
Phil Hagelberg
5075cf53d6
Release 1.4.0-RC1.
2010-11-07 16:10:42 -08:00
Phil Hagelberg
74f0e8f26d
Keep self-install jars in ~/.lein/self-installs instead of ~/.m2.
2010-11-07 16:09:20 -08:00
Phil Hagelberg
89f2a77a7a
Documentation updates in preparation for 1.4 release.
2010-11-07 15:51:44 -08:00
Phil Hagelberg
5182797f86
Fall back to Clojure 1.2 until bootclasspath issues are resolved.
2010-11-07 13:44:31 -08:00
Matjaz Gregoric
aa421fd1a7
Skip wget cert check in lein.bat.
2010-11-07 15:46:16 +01:00
Matjaz Gregoric
2148769164
Replace homedrive + homepath with userprofile.
2010-11-07 09:50:05 +01:00
Matjaz Gregoric
1d9d95c646
Expose leiningen.original.pwd in lein.bat.
2010-11-07 09:46:05 +01:00
Matjaz Gregoric
832cb1a363
Modify lein.bat to allow running from source.
2010-11-06 23:25:54 +01:00
Matjaz Gregoric
a3632e3cac
Add test folder to the classpath.
2010-11-06 23:25:53 +01:00
Phil Hagelberg
5dcd5aa40e
Skip curl cert check in lein.bat as well.
2010-11-06 14:07:07 -07:00
Phil Hagelberg
00205012c6
Ignore SSL certs while we wait for Github to get their act together.
2010-11-04 09:12:23 -07:00
Phil Hagelberg
b505cba346
Remove usage of handler arg in test task.
2010-11-03 21:58:04 -07:00
Phil Hagelberg
d88165ae9c
Deprecate unused eval-in-project arguments.
2010-11-03 21:18:37 -07:00
Phil Hagelberg
d900c662e3
Documentation updates. Mention JAVA_CMD, contribution guidelines.
2010-11-03 19:46:13 -07:00
Phil Hagelberg
a3255e5aba
Switch from :test-resources-path to :dev-resources-path; deprecate former.
2010-11-02 22:07:30 -07:00
Phil Hagelberg
4274e6dcad
Deprecation notice for :namespaces in project.clj.
2010-11-02 22:06:56 -07:00
Phil Hagelberg
9cf394649a
Clarify unclear docstring for run task.
2010-11-02 21:48:17 -07:00
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