Phil Hagelberg
7c067a5e33
Ensure explicit deps calls override :checksum-deps.
2011-11-12 06:54:09 -08:00
Matjaz Gregoric
32ebf41f23
Call System/gc before deleting files recursively.
...
Calling System/gc can help release files on windows.
It will hopefuly help with issues such as #252 and #309 .
I wasn't able to reproduce those two issues on Windows
Vista, but I have experienced a related problem when
running the leiningen test suite when some jar files
failed to be deleted. Calling System/gc resolved the
issue in that case.
2011-11-12 09:00:19 +01:00
Matjaz Gregoric
04061ff4df
Fix trampoline task for lein.bat.
2011-11-12 00:37:51 +01:00
Phil Hagelberg
701cf1b904
Remove test line that accidentally snuck in.
2011-11-11 15:02:22 -08:00
Phil Hagelberg
005b1612e4
Use $PWD when determining "bundled lein".
2011-11-11 14:59:06 -08:00
Phil Hagelberg
1ba201f447
Explain eval-in-project with dummy project arg in plugin docs.
2011-11-11 14:59:06 -08:00
Matjaz Gregoric
8a3c5de4ad
Implement bundled mode in lein.bat.
2011-11-11 23:45:02 +01:00
Phil Hagelberg
e2d09b01b6
Need to make *err* a PrintWriter.
2011-11-11 09:17:22 -08:00
Phil Hagelberg
53726ef2fe
Running in $HOME is not running in bundled mode.
2011-11-11 08:49:50 -08:00
Phil Hagelberg
68bc6ff905
Port relevant changes from bin/lein to bin/lein-pkg.
2011-11-11 08:26:42 -08:00
Phil Hagelberg
c0fb992dfa
Pull in updated lein-pkg from Debian.
2011-11-11 08:10:37 -08:00
Phil Hagelberg
989ee2bae2
Avoid NPE in deploy task. Fixes #308 .
2011-11-11 07:36:15 -08:00
Phil Hagelberg
d3797fe408
Look for main functions on Java classes in run task. Fixes #249 .
2011-11-10 13:42:19 -08:00
Phil Hagelberg
dee34faee6
Split out find-jars and find-deps-jars.
2011-11-10 09:37:07 -08:00
Phil Hagelberg
baa7866678
Check for :compile-path in prep. Default to "" for project :root.
...
This allows eval-in-project to be called with an entirely in-memory
dummy project:
(eval-in-project {:local-repo-classpath true
:dependencies '[[org.clojure/clojure "1.3.0"]]}
'(prn *clojure-version*))
2011-11-10 06:44:58 -08:00
Phil Hagelberg
bc253e5bc5
Fix compile test.
2011-11-10 04:53:34 -08:00
Phil Hagelberg
f1ce4aa7fe
Merge pull request #315 from gmwils/1.x
...
Add :parent to sample.project.clj
2011-11-09 15:43:49 -08:00
Phil Hagelberg
db7291e245
Fix a bug where interactive task would break upon exceptions. Fixes #269 .
2011-11-09 15:39:03 -08:00
Phil Hagelberg
d7f25801f6
Rebind *err* inside repl-server form. Fixes #286 .
2011-11-09 15:03:33 -08:00
Phil Hagelberg
ec4d8e0565
Default to Clojure 1.3.0 in new projects. Fixes #288 .
2011-11-09 15:03:18 -08:00
Phil Hagelberg
db92a08754
Allow non-jar files on the classpath. Fixes #244 .
2011-11-09 13:58:25 -08:00
Phil Hagelberg
8aab4588db
Fix trampoline to work with leiningen.compile/sh. Fixes #317 . Fixes #312 .
2011-11-09 13:58:21 -08:00
Phil Hagelberg
ffa1b3887c
Check for file on disk before assuming :main should be AOT'd. Fixes #249 .
2011-11-09 10:06:14 -08:00
Phil Hagelberg
2637838353
Update NEWS file. Remove 2.0 stuff from todo; keep it on the wiki for now.
2011-11-09 09:50:29 -08:00
Rob Wolfe
d83920b068
installing in local repository even if redefined in settings.xml
2011-11-09 09:18:09 -08:00
Phil Hagelberg
d9765f9eb8
Keep already-packaged lein off the classpath in bin/pkg-lein.
2011-11-09 09:18:04 -08:00
Phil Hagelberg
94c1af407f
Don't need a message for ns-finding read failures.
2011-11-09 09:13:28 -08:00
Phil Hagelberg
7dc1b034ee
Work around Clojure 1.2 reader bug.
...
Having spawn genomes on the classpath will cause this.
2011-11-08 17:07:08 -08:00
Phil Hagelberg
b066b3364e
s/project mode/bundled mode/.
...
[ci skip]
2011-11-08 15:48:54 -08:00
Phil Hagelberg
e61ec8c1d0
Merge remote-tracking branch 'Licenser/patch-1' into 1.x
2011-11-08 15:26:06 -08:00
Phil Hagelberg
6beefec20d
Coerce system properties into strings.
2011-11-08 14:35:11 -08:00
Heinz N. Gies
addf55cd78
added check for $ORIGINAL_PWD/.lein to exist and choose it over $HOME/.lein as LEIN_HOME. this allows project specific lein installations.
2011-11-08 20:24:40 +01:00
André Thieme
185573396f
Removed Clojure 1.3 warnings about dynamic vars.
2011-11-06 16:03:07 -08:00
Geoff Wilson
dc04530a0c
Add zsh completion for lein
2011-11-04 17:30:43 +01:00
Geoff Wilson
07a755c8af
Add :parent to sample.project.clj
2011-11-04 11:45:31 +01:00
Phil Hagelberg
2dabd99106
Merge pull request #311 from smee/patch-1
...
Prevent error for spaces in $SCRIPT path.
2011-11-01 14:54:36 -07:00
Steffen Dienst
9f9b78b5f5
prevent error for spaces in $SCRIPT path.
2011-11-01 22:52:23 +01:00
Phil Hagelberg
bcb3098e8f
Make plugin help tests much less specific.
2011-11-01 11:38:18 -07:00
Phil Hagelberg
29ca3564f7
Remove old versions of plugins at plugin install time. Fixes #301 .
...
This won't fix duplicate plugins that have already been installed
unfortunately, but it'll fix it going forward.
2011-11-01 11:23:49 -07:00
Phil Hagelberg
51f76dfa24
Perform deps fetching before compilation in jar task. Fixes #306 .
2011-10-31 21:04:40 -07:00
Phil Hagelberg
2862b93c56
Indentation fix.
2011-10-31 20:45:09 -07:00
Matjaz Gregoric
0d6dc8f521
Work around a windows specific problem in tests.
...
On Windows, delete-file-recursively sometimes fails
to delete certain jar files, which results in cascading
test failures.
An explicit call to System/gc seems to solve the problem
on Windows Vista.
2011-10-31 08:49:21 +01:00
Phil Hagelberg
b00c8cae90
Merge remote-tracking branch 'origin/287-user-level-deploy-repos' into 1.x
2011-10-25 10:17:10 -07:00
Michał Marczyk
17e4cbfdf0
Mention ((user-settings) :deploy-repositories) in DEPLOY.md
2011-10-25 10:37:59 +02:00
Michał Marczyk
7aae51b09e
Move user-level deploy repos to (user-settings)
2011-10-25 08:07:08 +02:00
Phil Hagelberg
d17814adb4
Add -r to rlwrap so it remembers terms for completion.
2011-10-24 09:43:25 -07:00
Michał Marczyk
5f15fc0783
Add user-level deploy-repositories setting
2011-10-24 13:31:07 +02:00
Phil Hagelberg
3b6b8b47c1
Clarify :dev-deps vs lein plugin install.
...
[ci skip]
2011-10-21 14:36:40 -07:00
Phil Hagelberg
6e475bdc50
Boost search page size.
...
[ci skip]
2011-10-21 14:33:45 -07:00
Phil Hagelberg
79b8373007
Add :compile-path to sample.project.clj.
...
[ci skip]
2011-10-21 14:33:33 -07:00