Commit graph

426 commits

Author SHA1 Message Date
david.powell
4ef01fcaa9 always process trampolines, even when used in aliases and higher-order tasks
remove unused leiningen.trampoline-file system property
2013-03-18 16:02:24 +00:00
david.powell
f3e71aa03f ensure only one set of quotes around java command in trampolines 2013-03-18 15:16:03 +00:00
Phil Hagelberg
78889f1c68 Include LEIN_VERSION in LEIN_FAST_TRAMPOLINE files.
Fixes #962.
2013-03-16 20:47:52 -07:00
Michael Klishin
a91f40d3e1 Merge pull request #1066 from djpowell/lein-bat-fixes
lein.bat fixes
2013-03-15 15:15:40 -07:00
David Powell
f3059d4d25 Simplify handling of LEIN_JAVA_CMD to support parens in paths, such as with "Program Files (x86)" 2013-03-15 20:58:56 +00:00
David Powell
8df3d12ef8 Add back wget and curl support as a fallback for users without powershell. 2013-03-15 20:58:46 +00:00
Phil Hagelberg
e6de716766 Point people to the right place for bootstrapping instructions. 2013-03-14 10:46:55 -07:00
megri
fb1db2cec4 added support for windows/msys 2013-03-12 23:14:39 +01:00
Phil Hagelberg
c6e95593c4 Allow Leiningen checkout to be bootstrapped from 2.x.
Fixes #958.
2013-02-28 17:12:51 -08:00
Phil Hagelberg
ff0f5a6d04 Workaround for :test-selectors and #878.
Gotta love how quote silently discards metadata wooooo.
2013-02-26 11:57:50 -08:00
Phil Hagelberg
66ed4818ec Replace curl/wget usage in lein.bat with powershell.
Addresses #1007.
2013-02-26 10:38:37 -08:00
Phil Hagelberg
af7d5aaffd Improve boot time by limiting tiered compilation. 2013-02-12 09:54:25 -08:00
David Cohen
d7f05cf004 adding message to set HTTP_PROXY and HTTPS_PROXY for those behind a firewall 2013-02-05 20:17:14 -05:00
Gabriel Horner
0a7b974fdc point to correct docs for a local lein checkout 2013-01-29 22:15:33 -05:00
Phil Hagelberg
3391fd8445 Add download log parsing code.
[ci skip]
2013-01-21 20:43:41 -08:00
Phil Hagelberg
be4ec8c81e Bump to 2.1.0-SNAPSHOT. 2013-01-19 20:39:17 -08:00
Phil Hagelberg
0cd13d8cdb Release 2.0.0. 2013-01-19 20:07:46 -08:00
Phil Hagelberg
01e6c953c3 News and FAQ about implicit repl deps.
[ci skip]
2013-01-19 15:25:45 -08:00
Phil Hagelberg
6e42ceea19 Clarify wording of checkout dependencies in tutorial. 2013-01-17 11:47:25 -08:00
Jack Moffitt
eb5ba65f90 Add bin/lein-pkg to the list of files that get version substitutions.
Currently lein-pkg is forgotten about, which means it is always pointing to
the 2.0.0-SNAPSHOT version. This means packagers much edit this file
themselves.
2013-01-16 22:04:47 -07:00
Jean Niklas L'orange
e5511fe516 Back to 2.0.0-SNAPSHOT. 2013-01-13 10:38:54 +01:00
Phil Hagelberg
99f0ed7069 Release 2.0.0-RC2 2013-01-12 17:03:18 -08:00
Phil Hagelberg
829046af7f Fix upgrade command. 2013-01-11 11:06:09 -08:00
Phil Hagelberg
eb15a82e12 Back to 2.0.0-SNAPSHOT. 2013-01-10 16:59:36 -08:00
Phil Hagelberg
1e309c1a52 Release 2.0.0-RC1 2013-01-10 16:45:09 -08:00
Phil Hagelberg
871b1c0b61 Move downloads to S3 bucket. Fixes #885. 2013-01-10 11:57:24 -08:00
Jean Niklas L'orange
0bb1cc42bf Avoid crash in lein.bat when path contain spaces. Fixes #907. 2013-01-07 21:00:23 +01:00
Phil Hagelberg
da3b3e13f2 No tabs! 2013-01-02 22:32:15 -08:00
Phil Hagelberg
1e4180148f Update lein-pkg. 2012-12-19 09:40:39 -08:00
Allen Rohner
ec8b8fab34 export $SCRIPT as leiningen.script 2012-12-01 18:51:15 -08:00
Shantanu Kumar
bd781857c2 omit redundant :no_upgrde snippet 2012-11-21 22:57:43 +05:30
Shantanu Kumar
214e464cec add upgrade support to lein.bat master 2012-11-21 22:28:01 +05:30
Phil Hagelberg
2973d99652 Check Clojars releases repository instead of classic. Fixes #241. 2012-11-14 12:45:34 -08:00
Phil Hagelberg
4c19f1ee27 Fix font-lock in bin/lein 2012-11-12 14:40:23 -08:00
Phil Hagelberg
13bb1dc37e Allow for $LEIN_TRAMPOLINE_WARMUP.
[ci skip]
2012-11-03 09:54:35 -07:00
Bruce Adams
cbe087d489 Finish getting path quoting right for boot classpath #828 2012-10-27 12:57:39 -04:00
AtKaaZ
5a57fecf8a make trampoline work on windows
applied the same fix that preview branch had
ie. passing the trampoline file like this:
 -Dleiningen.trampoline-file="%TRAMPOLINE_FILE%" ^
2012-10-26 10:54:53 +02:00
Bruce Adams
c9d271c62b Quote file paths: may contain spaces #828 2012-10-25 22:43:31 -04:00
AtKaaZ
f95a9ffba8 bring back lein.bat from LF to CRLF 2012-10-26 02:11:14 +02:00
AtKaaZ
6e237a8a64 fix for previous commit to allow spaces in folder names
ie. the passed path to -Dclojure.compile.path= should be inside
double quotes
2012-10-26 02:08:05 +02:00
AtKaaZ
898aefb89c Pass default clojure.compile.path just like the bash script does
should fix cases where uses of lein.bat 
would cause the use of /classes/ folder instead of /target/classes/
which resulted in some classes not being found
ie. when compiling leiningen project from source
2012-10-26 01:43:15 +02:00
Phil Hagelberg
ff0e95baf0 Debug output in apply-task. 2012-10-04 09:36:21 -07:00
Justin Balthrop
48bea66ea0 use -classpath instead of -cp so that jdb can be used for :java-cmd 2012-09-27 11:22:03 -07:00
Juergen Hoetzel
8f9c246f14 code reuse: context specific CLASSPATH is used checkout and non-checkout 2012-09-26 20:34:27 +02:00
Juergen Hoetzel
26af2db2b7 use bash helper function add_path to setup classpath
instead of conditionally (cywin/unix) constructing the classpath using
bash assignment.
2012-09-26 20:14:41 +02:00
Juergen Hoetzel
e0398e0819 Add bash function add_path for (class)path setup 2012-09-26 19:48:17 +02:00
Michael Klishin
67726053e5 Merge pull request #783 from StevenBorrelli/patch-1
Fix typos in lein script for download_failed_message
2012-09-14 10:48:59 -07:00
StevenBorrelli
9690f8de65 Fix typos in lein script for download_failed_message
Change downoad_failed_message to download_failed_message
Add endquote to error message for curl HTTP_CLIENT.
2012-09-14 12:46:13 -05:00
basicsensei
a1bc1f56cc move setlocal first to prevent leaking it to parent shell in win7/xp
However on win7 though (but not on winxp) all set variables inside
script will be leaked if the script fails within another setlocal ie. 
set JAVA_CMD="ja"va"
lein
set
Will show LEIN_HOME, LEIN_JAR and ORIGINAL_PWD remained set.

The following .bat will prove the point:
@echo on
setLocal EnableExtensions EnableDelayedExpansion
set xxx="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

rem comment the following line to prevent xxx to leak into parent shell:
setlocal
rem the below will make script fail(just type "set" to see it leaked):
if x == '

echo not reached!
2012-09-13 09:48:29 +02:00
basicsensei
3b5feb5393 use LEIN_JAVA_CMD in lein.bat just as in the bash script
just as @technomancy said in #774
if LEIN_JAVA_CMD is not set it will fall back to JAVA_CMD which in turn
if it's not set it will fall back to just "java" (without dbl.quotes)
2012-09-13 02:48:26 +02:00