Commit graph

565 commits

Author SHA1 Message Date
Jean Niklas L'orange
58b8c1658a Back to snapshot 2016-02-05 01:36:14 +01:00
Jean Niklas L'orange
0fe3f86a3c
Release 2.6.0 2016-02-05 01:17:21 +01:00
Jean Niklas L'orange
01fc44acdd Merge pull request #2026 from winks/leiningen-1865
Reset ERRORLEVEL and RC in lein.bat
2016-01-05 19:15:03 +01:00
Jean Niklas L'orange
054a77af6c Merge pull request #2047 from TrangPham/lein_pkg_opts
Updating lein-pkg jvm opts to match lein
2015-12-20 00:31:09 +01:00
Thu Trang Pham
49651592ad Updating lein-pkg jvm opts to match lein 2015-12-19 18:01:17 -05:00
Thu Trang Pham
3335c37ddc Adding platform independant sha to lien-pkg 2015-12-18 20:22:56 -08:00
Florian Anderiasch
e2c257552f Reset ERRORLEVEL and RC in lein.bat
Fixed #1865
For reference:
http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx
2015-11-15 20:33:12 +01:00
Jean Niklas L'orange
98379a9c85 Merge pull request #2024 into master 2015-11-10 23:09:08 +01:00
Jean Niklas L'orange
374557c70a Set LEIN_JAVA_CMD to JAVA_CMD if set
Also don't mess with export options for JAVA_CMD. It's not set in
lein anymore, so it's effectively a noop.
2015-11-10 23:09:05 +01:00
Juergen Hoetzel
ae4f6a87d3 Don't preset JAVA_CMD. Refs #2009
Because on Cygwin JAVA_CMD will be set to an UNIX path. This will result
in a "File not found" exception when the native Leiningen JAVA process
will execute JAVA_CMD.
2015-11-10 00:18:10 +01:00
Matthias Gaertner
ce47c9b913 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
Checked upgrade command. Condition was wrong and self-modifying batch code
is just ugly.

Testing:
- Remove 2.5.3 JAR file. This will be re-loaded by calling self-install
  on the loaded batch file.
- Execute "bin\lein.bat upgrade 2.5.3".
- The batch file will be reverted to the 2.5.3 state and JAR file loaded.
2015-11-09 01:54:30 +01:00
Matthias Gaertner
3b4079f0e1 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
Checked on Windows 7 and Windows 8, with Java Oracle 1.8.0_65.
Improved error detection, especially for downloads. Script
returns non-zero exit code on problems now.
Updated wget link. The original URL does not work any longer.
Supplied a known clean download location, including VirusTotal link.
The slightly re-written structure makes this code work with TCC, too,
so this commit should solve #2019, too.
Quoting has been amended so the code works on Leiningen folders that
contain space characters.
2015-11-09 00:28:44 +01:00
Matthias Gaertner
927b9bf26c 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899 2015-11-05 23:54:58 +01:00
Pavel Prokopenko
6379f6dad9 show a better error message when java is not found in PATH 2015-10-24 00:19:04 +03:00
Jean Niklas L'orange
d701275464 Quote components in ()s in lein.bat
Thanks for modulus @ freenode/#leiningen for the fix.
2015-09-26 16:36:19 +02:00
Jean Niklas L'orange
87c7e07da9 Back to snapshot 2015-09-22 00:37:56 +02:00
Jean Niklas L'orange
574aabb9d4 Release 2.5.3 2015-09-21 23:23:51 +02:00
Jean Niklas L'orange
37e9c8cfbf Merge pull request #1830 from winks/issue-1420
Fixes #1420
2015-09-20 14:44:38 +02:00
Brett N. DiFrischia
80ff1f29a4 Allow check for root user to process correctly on Solaris. 2015-08-14 11:27:36 -05:00
Pietro F. Menna
d55c34c712 Updated old reference to hacking section of README to "Bootstrapping" from CONTRIBUTING.md from lein script
fixes #1950
2015-08-11 23:33:32 -03:00
Jean Niklas L'orange
35aef5832b Back to snapshot. 2015-08-09 15:58:37 +02:00
Jean Niklas L'orange
fe48537e7d Release 2.5.2 2015-08-09 15:28:06 +02:00
Jean Niklas L'orange
6c7de27414 Ensure release can be done from clean work tree 2015-08-09 15:25:17 +02:00
Jean Niklas L'orange
aad0e7509d Use $() over ``. 2015-06-23 01:47:36 +02:00
Jean Niklas L'orange
704b89a064 Quote those single-arguments properly. 2015-06-23 01:37:34 +02:00
Martin Hallén
d49399853b Fixed unnecessary variable 2015-06-19 13:41:11 +02:00
Martin Hallén
ed15d55885 Escape variable so script does not break on space in username 2015-06-19 08:43:57 +02:00
Marek Kubica
05a1c90cae Display error message and error out only when using fast trampoline 2015-06-14 22:56:36 +02:00
Marek Kubica
dfc57b8d35 Use recommended way of detecting command in $PATH
See https://stackoverflow.com/a/677212 for explanation.
2015-06-14 13:00:08 +02:00
Marek Kubica
ea6b258660 Check for other SHA1 implementations in $PATH 2015-06-13 15:46:27 +02:00
Pavan Kumar Sunkara
b1f48145ec Give priority to global leinrc file 2015-04-02 20:15:55 +05:30
Pavan Kumar Sunkara
ea16f62875 Add /etc/leinrc to lein-pkg script 2015-04-02 03:48:17 +05:30
Pavan Kumar Sunkara
0cee4b43fa Add /etc/leinrc to lein script 2015-04-02 03:47:42 +05:30
Jean Niklas L'orange
a920ddbb77 Fix some typos, warn about lack of security.
[ci skip]
2015-02-12 20:56:56 +01:00
Frederick Giasson
9b60ea0332 Second iteration to get the "failed to download" behavior right. 2015-02-12 11:56:49 -05:00
Frederick Giasson
af55842853 Adding a better description of what may be the issue with a failed download. Also adding some possible fixes options. 2015-02-11 14:47:04 -05:00
Frederick Giasson
5addbbf863 Reorder the possible HTTP proxies to use to download Leiningen from GitHub. The new sequence is: PowerShell, Curl and then Wget.
Fixes issue #1800 as experienced by multiple users.
2015-02-11 14:02:59 -05:00
Florian Anderiasch
8a1078b030 Fixes #1420
Under the assumption that .lein-classpath contains only one line.
2015-02-10 23:33:07 +01:00
Martin Ceronio
fa4c542970 Fixes technomancy/leiningen/#1308
Change the powershell option to use the default system proxy in Windows using solution from here: http://stackoverflow.com/a/25082595/274354
2015-02-05 12:11:45 +02:00
Phil Hagelberg
7aef5c3cfc Bump version to 2.5.2-SNAPSHOT.
[ci skip]
2015-01-09 09:55:40 -08:00
Phil Hagelberg
27e5e20902 Update self-install URL in bat file too. 2015-01-09 09:51:32 -08:00
Phil Hagelberg
b630fa37b8 Release 2.5.1 2015-01-09 09:47:16 -08:00
Phil Hagelberg
f48846ff3c Github is being dumb and disallowing .jar uploads.
"Unfortunately, we don't support that file type. Try zipping it."

It's already a zip file, genius.
2015-01-09 09:43:34 -08:00
Phil Hagelberg
d63b2fa40f Don't skip the certificate checking in lein.bat, geeeeeeeeez.
Fixes #1733.
2015-01-07 15:52:06 -08:00
Sindunata Sudarmaji
fa0556d6ed Fix broken lein self-install 2014-09-29 22:51:36 +09:00
James Bence
7fb710c8a6 Avoid setting SCRIPT to empty string 2014-09-24 09:50:47 -07:00
Jean Niklas L'orange
9cbb7df75a Back to snapshot. 2014-09-22 13:19:10 +02:00
Phil Hagelberg
c78a8110a8 Release 2.5.0 2014-09-14 21:26:56 -07:00
Jean Niklas L'orange
c362ae4bc2 Merge pull request #1691 from technomancy/fix-erroneous-shell-command-form
Fix negation in shell-command form.
2014-09-14 01:29:15 +02:00
Jean Niklas L'orange
fb33a9506e Set env var if .lein-fast-trampoline exists.
Makes it possible to just use LEIN_FAST_TRAMPOLINE in the Lein process,
to check if the user is using fast trampolining. Strictly speaking, one
previously had to check whether LEIN_FAST_TRAMPOLINE was set or check
that .lein-fast-trampoline existed inside Lein.
2014-09-14 01:22:31 +02:00