Commit graph

614 commits

Author SHA1 Message Date
Pavel Peganov
931a68e56f
Enforce TLS 1.2 for PowerShell downloader
https://github.com/blog/2507-weak-cryptographic-standards-removed
2018-02-25 23:24:31 +03:00
Phil Hagelberg
f82107e4e5 No no no no no no no. That is terrible advice.
https://p.hagelb.org/no.gif
2018-01-21 09:51:47 -08:00
Elana Hashman
de0708af3b Avoid "You have $CLASSPATH set" errors on upgrade
When we exec the newly downloaded leiningen script, it will replace our
current shell process and recalculate the classpath for us, so we can
safely unset this here. This avoids the new script throwing warnings
about the CLASSPATH variable being set (from the previous run) on
upgrades.
2017-11-26 23:59:48 -05:00
Phil Hagelberg
4169f26ca8 Bump dev version up to 2.8.2-SNAPSHOT. 2017-10-27 14:46:11 -07:00
Phil Hagelberg
2261906d9d Release 2.8.1 2017-10-27 14:35:27 -07:00
Phil Hagelberg
91afe60b11 Reintroduce cleanup of trampoline files after we've used them. 2017-10-27 14:32:14 -07:00
Phil Hagelberg
c837391260 Handle the existence of TRAMPOLINE_FILE consistently.
We can't assume having that set means we're trampolining.

Fixes #2342.
2017-10-27 12:21:04 -07:00
Ari Paasonen
a58ce34653 Fix typo: coundn't -> couldn't 2017-10-23 14:56:18 +03:00
Phil Hagelberg
d42f947f09 Bump up to the next snapshot.
[skip ci]
2017-10-17 17:41:41 -07:00
Phil Hagelberg
04b88e57c4 Release 2.8.0 2017-10-17 17:33:25 -07:00
Phil Hagelberg
f24c4e1068 Port bootclasspath/verify changes to lein-pkg and lein-sdkman.
[skip ci]
2017-10-17 17:29:48 -07:00
Phil Hagelberg
f50add4f90 Add LEIN_USE_BOOTCLASSPATH.
Telling people to use LEIN_JVM_OPTS for this is not great, because a
given setting would only work with a single version of Leiningen.

[skip ci]
2017-10-17 10:14:23 -07:00
Ghadi Shayban
7acd34a3a1 disable bytecode verification
This makes explicit what the effects of the bootclasspath was.
The main speed benefit of the bootclasspath was that it removed the
requirement to verify bytecode, which improves startup.

This should be a net-zero startup performance change.
2017-10-04 13:33:29 -04:00
Ghadi Shayban
175001b57a remove bootclasspath options 2017-10-04 13:33:08 -04:00
Ghadi Shayban
3b49b51677 Revert "Support skipping bootclasspath."
This reverts commit 151fbb256d.
2017-10-04 13:26:21 -04:00
Phil Hagelberg
d5bf55df1c Go back to version 2.8.0-SNAPSHOT.
[skip ci]
2017-09-19 15:33:40 -07:00
Phil Hagelberg
b2c4c5a782 Release 2.8.0-RC1 2017-09-18 15:45:42 -07:00
Phil Hagelberg
267e16ab1f Prepare for 2.8.0-RC1. 2017-09-18 15:43:27 -07:00
Phil Hagelberg
21df60d8fa Warn when $CLASSPATH is set.
Fixes #1883.
2017-05-30 11:13:26 -07:00
Phil Hagelberg
d4bfdf47a9 Remove LEIN_ROOT check.
It seems like it's much less likely for this to happen unintentionally
these days compared to when it was added.
2017-05-29 15:56:24 -07:00
Phil Hagelberg
1c4a435b60 Recommendations from shellcheck.
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
4db173d8e9 Port some fixes from bin/lein to bin/lein-pkg. 2017-04-05 11:38:34 -07:00
Phil Hagelberg
151fbb256d Support skipping bootclasspath. 2017-03-31 15:03:00 -07:00
jeredepp
a74acee119 Minor text fix
fixed typo "coundn't" to "couldn't"
2017-01-11 16:26:49 +01:00
Phil Hagelberg
4874c7bf0f Add a lot of `s'es. 2017-01-09 13:47:30 -08:00
Jean Niklas L'orange
c06bc76959 Back to snapshot 2016-09-22 02:48:48 +02:00
Jean Niklas L'orange
150d98b7ae
Release 2.7.1 2016-09-22 01:04:59 +02:00
Jean Niklas L'orange
cfa80b728f Initial lein-sdkman, ref #2204 2016-09-22 00:31:38 +02:00
Jean Niklas L'orange
0c4d6f3fd7 Update lein-pkg root checking 2016-09-21 23:49:56 +02:00
Jean Niklas L'orange
8648361392 Revert lein.bat hotfix 2016-08-25 00:43:53 +02:00
Jean Niklas L'orange
2ee664de29
Hotfix lein.bat 2016-08-25 00:42:19 +02:00
Jean Niklas L'orange
30b8a7fa5d
Revert PowerShell script dependency on lein.bat
This reverts the lein.bat parts of
4dcf045650.

Conflicts:
	bin/lein.bat
2016-08-25 00:30:37 +02:00
Jean Niklas L'orange
38a9ffb09d Ensure java 1.6 is used for releases 2016-08-24 02:27:39 +02:00
Jean Niklas L'orange
309abec275 Back to snapshot 2016-08-24 02:27:09 +02:00
Jean Niklas L'orange
c5d95b7190
Release 2.7.0 2016-08-24 02:18:10 +02:00
Jean Niklas L'orange
82cd62296d Update NEWS.md 2016-08-24 01:57:50 +02:00
Jean Niklas L'orange
792a260383 Fix small ps snags, ref #2174 2016-08-24 00:43:43 +02:00
Brian Lalonde
e80dff815b Run PowerShell without a profile/execution policy
No $Profile is needed or desired, and the default execution policy is too restrictive.
2016-07-16 12:14:09 -07:00
Brian Lalonde
9ae74a5ed3 Fix proxy issue. 2016-07-16 10:02:49 -07:00
Brian Lalonde
4dcf045650 Port lein.bat to PowerShell
Adds lein.ps1 as a more maintainable, elegant integration for Windows,
with small changes to lein.bat to support it, and lein.cmd as an example
of a minimalist lein.ps1 launcher.
2016-07-16 10:02:49 -07:00
Jean Niklas L'orange
e4d3c1e56c Move away from quoted LEIN_JAR again. 2016-04-25 20:43:32 +02:00
Jean Niklas L'orange
a39a1dc3c9 Merge pull request #2104 from mastersign/mastersign-patch-path-spaces
Quote CLASSPATH while calling Java Fixes #2086
2016-04-25 20:42:28 +02:00
Tobias Kiertscher
a87e5d83d9 removed inidividual quotes around paths in CLASSPATH
dropped support for semicolons in paths
2016-03-08 15:04:52 +01:00
Leon Mergen
1012ae2dcb Fixed character escaping issue
This fixes the issue where, if there would be a space in the classpath, the -cp variable passed to `java` would be incorrect.
2016-03-05 19:03:25 +01:00
Tobias Kiertscher
45870f4c80 Quote CLASSPATH while calling Java
to support spaces in LEIN_JAR, the later concatenated CLASSPATH must be quoted
2016-03-04 13:53:12 +01:00
Søren Knudsen
724ce76d9d Reduce comment line lengths to 80 columns 2016-02-24 16:43:45 +01:00
Søren Knudsen
77997e6c51 Add comment warning about LEIN_JAR usage 2016-02-22 17:34:41 +01:00
Jean Niklas L'orange
6046f1f848 Back to snapshot 2016-02-08 18:36:20 +01:00
Jean Niklas L'orange
f9a464e008
Release 2.6.1 2016-02-08 18:20:33 +01:00
Jean Niklas L'orange
58b8c1658a Back to snapshot 2016-02-05 01:36:14 +01:00