Commit graph

308 commits

Author SHA1 Message Date
Phil Hagelberg
d9765f9eb8 Keep already-packaged lein off the classpath in bin/pkg-lein. 2011-11-09 09:18:04 -08:00
Phil Hagelberg
b066b3364e s/project mode/bundled mode/.
[ci skip]
2011-11-08 15:48:54 -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
Steffen Dienst
9f9b78b5f5 prevent error for spaces in $SCRIPT path. 2011-11-01 22:52:23 +01:00
Phil Hagelberg
d17814adb4 Add -r to rlwrap so it remembers terms for completion. 2011-10-24 09:43:25 -07:00
Phil Hagelberg
fc7149dddf Prevent redundant self-install. 2011-10-19 16:30:56 -07:00
Matjaz Gregoric
1942c465f0 Add resources to leiningen's classpath in lein.bat. 2011-08-25 16:14:45 +02:00
Phil Hagelberg
6e0454f57d Re-enable execute permissions after last patch disabled it. 2011-08-18 19:15:03 -04:00
Phil Hagelberg
a85443d7fd Respect $LEIN_HOME when staving the standalone jar
Conflicts:

	bin/lein
2011-08-18 19:05:18 -04:00
Phil Hagelberg
7dbeb03364 Add resources/ to Leiningen's own classpath. Fixes #248. 2011-08-16 18:04:13 -04:00
Phil Hagelberg
b631a47dd8 Drop version number to 1.6.2-SNAPSHOT. 2011-08-07 14:46:56 -07:00
Phil Hagelberg
c9ab63ac1e Keep already-packaged lein off the classpath in bin/pkg-lein. 2011-07-31 18:24:59 -07:00
Matjaz Gregoric
64343d221f Use LEIN_JVM_OPTS in lein.bat. 2011-07-31 07:44:13 +02:00
Matjaz Gregoric
43eaf9c85d Use LEIN_JVM_OPTS in lein.bat. 2011-07-31 05:34:25 +02:00
Matjaz Gregoric
75dd8df236 Bump lein.bat to 1.7.0-SNAPSHOT. 2011-07-31 05:33:38 +02:00
Phil Hagelberg
69bdaa3a71 Separate JVM_OPTS and LEIN_JVM_OPTS. Fixes #233. 2011-07-24 21:05:44 -07:00
Phil Hagelberg
32ffd7818d Separate JVM_OPTS and LEIN_JVM_OPTS. Fixes #233. 2011-07-24 21:04:07 -07:00
Phil Hagelberg
2940df02db Replace .lein_classpath with .lein-classpath for consistency.
Conflicts:

	doc/PLUGINS.md
2011-07-21 10:40:09 -07:00
Phil Hagelberg
16020e8320 Replace .lein_classpath with .lein-classpath for consistency. 2011-07-21 10:38:52 -07:00
Phil Hagelberg
aa05891fd6 Fix typo in jar name in lein-pkg. 2011-07-17 14:09:01 -07:00
Phil Hagelberg
b6f43007e2 renamed .classpath to .lein_classpath so that it doesn't conflict with other tools like Eclipse that use .classpath
Conflicts:

	bin/lein.bat
2011-07-16 14:51:35 -07:00
Phil Hagelberg
f3547d5dd1 Bump version to 2.0.0-SNAPSHOT. 2011-07-16 14:50:16 -07:00
Phil Hagelberg
4b369a3a02 renamed .classpath to .lein_classpath so that it doesn't conflict with other tools like Eclipse that use .classpath
Conflicts:

	bin/lein.bat
2011-07-16 14:47:29 -07:00
Phil Hagelberg
86e602e6c0 Bump to 1.7.0-SNAPSHOT. 2011-07-16 14:38:45 -07:00
Phil Hagelberg
d9fd35e36c Add missing jar to bin/lein-pkg. 2011-07-14 12:32:26 -07:00
Matjaz Gregoric
ed42411976 Merge pull request #231 from bitsai/master
Fixed test for empty CONTEXT_CP
2011-07-10 20:40:32 -07:00
Benny Tsai
25a1b65a98 better fix for lein.bat, as per mtyaka's suggestion 2011-07-10 21:32:39 -06:00
Phil Hagelberg
daec042535 Add bin/lein-pkg for downstream packagers. 2011-07-10 14:25:36 -07:00
Benny Tsai
98574d966c fix test for empty CONTEXT_CP 2011-07-10 13:06:38 -06:00
Matjaz Gregoric
a6762b75ca Remove useless x characters. 2011-07-10 09:37:13 +02:00
Matjaz Gregoric
ea5fbaf859 Implement trampoline command on Windows.
Implement trampoline command in lein.bat and
fix bugs when running trampoline under cygwin.
2011-07-10 09:32:29 +02:00
Matjaz Gregoric
42d26253fc Use a consistent style with goto statements. 2011-07-07 00:08:35 +02:00
Matjaz Gregoric
d474253dc6 Switch from rem commands to double colons for improved readability. 2011-07-07 00:07:09 +02:00
Matjaz Gregoric
56a0906b02 Bump lein.bat to 1.6.1. 2011-07-07 00:03:52 +02:00
Matjaz Gregoric
5cb765686b Disable user plugin when the same artifact is a dev dependency in lein.bat. 2011-07-07 00:02:28 +02:00
Phil Hagelberg
bd466d751a Release 1.6.1. 2011-07-06 09:05:09 -07:00
Micah
2fe610a9ee added support for .classpath files 2011-07-01 07:25:31 -07:00
Phil Hagelberg
0a301ae611 Bump version to 1.6.1-SNAPSHOT. 2011-07-01 07:24:41 -07:00
Matjaz Gregoric
c96c74f5eb Bump lein.bat to 1.6.0. 2011-06-30 23:43:17 +02:00
Matjaz Gregoric
93a8e5e7ee Fix bootclasspath to use 1.2.1 in lein.bat. 2011-06-30 10:13:03 +02:00
Phil Hagelberg
8a3054eea0 Release 1.6.0. 2011-06-29 20:35:51 -07:00
Phil Hagelberg
8904543884 Fix bootclasspath to use clojure 1.2.1. 2011-06-29 20:33:29 -07:00
Kevin Downey
49b01efe13 fix JAVA_OPTS backwards compat 2011-06-28 09:51:19 -07:00
Phil Hagelberg
f0e9d313fb Merge pull request #217 from scgilardi/trampoline-fix
load trampoline file into a var to allow cleaning it up
2011-06-27 19:51:19 -07:00
Stephen C. Gilardi
16f5235073 load trampoline file into a var to allow cleaning it up 2011-06-28 02:02:50 +00:00
Phil Hagelberg
a761394dc2 Tutorial updates for 1.6. 2011-06-23 22:49:00 -07:00
Phil Hagelberg
10413655e7 Prevent "lein upgrade" from a checkout. 2011-06-23 20:22:06 -07:00
Stephen C. Gilardi
09ee4f8be0 clean up trampoline file 2011-06-24 01:14:07 +00:00
Phil Hagelberg
917f3816b3 Fix trampoline task. 2011-06-22 20:42:44 -07:00
Phil Hagelberg
dead008fcf First cut at a trampoline task. 2011-06-19 19:28:16 -07:00
Stephen C. Gilardi
16f6b09219 add support for spaces in plugin paths 2011-06-05 23:44:28 +00:00
Stephen C. Gilardi
4aeed4f1b4 disable user plugin when the same artifact is a dev dependency 2011-06-03 18:22:00 -04:00
Phil Hagelberg
0335835d22 Fix traversing up dir hierarchy to find project root. 2011-05-24 21:35:40 -07:00
Phil Hagelberg
5be46a2b13 Bump to 1.6.0-SNAPSHOT. 2011-04-19 21:32:29 -07:00
Phil Hagelberg
a1fa434002 Release 1.5.2. 2011-04-13 21:14:47 -07:00
Phil Hagelberg
ab6293d4c6 Check rlwrap for -q support before enabling it. 2011-04-13 18:15:22 -07:00
Donald Clark Jackson
06c605d1c2 Initializing NOT_FOUND prior to entering loop, to avoid error using /bin/sh on Solaris 2011-04-13 10:28:02 -07:00
Pirmin Fix
2fc1bd114a Fixed zsh error.
It seems that when using zsh as shell and having no https proxy, the following error happened
[zitpcx16106] ~ $ lein repl
/afs/desy.de/user/p/pfix/local/bin/lein: line 86: [: !=: unary operator expected
REPL started; server listening on localhost:48076.
user=>

This change should fix that.
2011-04-13 07:37:30 -07:00
Phil Hagelberg
d055f28b64 Release 1.5.1. 2011-04-12 19:08:00 -07:00
Phil Hagelberg
fdc44d8a4f Enabled correct quoting, editor support in rlwrap. Fixes #188. 2011-04-12 13:32:46 -07:00
Phil Hagelberg
914579ba79 Allow spaces in lein checkout dir. Fixes #186. 2011-04-12 13:02:45 -07:00
Phil Hagelberg
7b3bf4ca0b Use whoami instead of $USER for root detection. 2011-04-11 20:21:45 -07:00
Phil Hagelberg
51b92e5624 Pass $https_proxy environment variable to curl. Fixes #189. 2011-04-10 15:08:37 -07:00
Phil Hagelberg
7ff39e5c82 Revert "Enabled correct quoting, editor support in rlwrap"
This reverts commit e79ba66110.
Enabled correct quoting, editor support in rlwrap

Surrounded the $@ with double quotes to prevent arguments with
spaces (even quoted ones) from being broken appart into multiple args.
2011-04-10 14:17:41 -07:00
Stuart Fehr
651ff4f696 Surrounded the $@ with double quotes to prevent arguments with spaces (even quoted ones) from being broken appart into multiple args. 2011-04-10 14:12:01 -07:00
Ambrose Bonnaire-Sergeant
e79ba66110 Enabled correct quoting, editor support in rlwrap 2011-04-09 17:50:02 -07:00
Phil Hagelberg
c9b9715265 Update bin scripts to version 1.5.1-SNAPSHOT. 2011-04-09 17:48:02 -07:00
Phil Hagelberg
2d0ca7a5c6 Fix warning prompt when running as root. 2011-03-24 21:14:54 -07:00
Phil Hagelberg
0c6ac280e8 Release 1.5.0. 2011-03-22 20:40:46 -07:00
Phil Hagelberg
7719dd6a82 Use AOT to speed up leiningen checkout launch. 2011-03-15 18:50:02 -07:00
Phil Hagelberg
b5b8214f22 1.5.0 RC1 2011-03-11 11:55:24 -08:00
Phil Hagelberg
b638ed87f6 Be more careful handling failed downloads in lein upgrade. Fixes #153. 2011-03-03 18:55:36 -08:00
Phil Hagelberg
9cc22ac615 Warn when falling back to jline. 2011-02-23 21:17:25 -08:00
Matjaz Gregoric
dc29f9c3ac Improve self-install error messages with lein.bat. 2011-02-11 23:56:50 +01:00
Phil Hagelberg
abb6f2b53b Make bin/lein compatible with old Bourne shell.
Thanks to Don Jackson.
2011-01-22 10:06:24 -08:00
Matjaz Gregoric
3426e037b9 Make user-specified %CLASSPATH% take priority. 2011-01-14 20:03:56 +01:00
Phil Hagelberg
e38f8bfa91 Make user-specified $CLASSPATH take priority. 2011-01-14 12:02:01 -05:00
Phil Hagelberg
479c2671ba Bump version to 1.5.0-SNAPSHOT. 2011-01-13 15:27:01 -05:00
Phil Hagelberg
6a1572f478 Release 1.4.2. 2010-12-31 22:22:56 -08:00
Matjaz Gregoric
6cdd04949d Switch from JAVA_OPTS to JVM_OPTS in windows batch scripts.
Keep JAVA_OPTS for backwards compatibility.
2010-12-25 09:41:49 +01:00
Phil Hagelberg
65a2dc461b Switch from JAVA_OPTS to JVM_OPTS. The former retained as an alias for now. 2010-12-24 20:48:10 -08:00
Matjaz Gregoric
b61da8cdb1 Make lein.bat save self-install jars into LEIN_HOME 2010-12-18 11:20:34 +01:00
Matjaz Gregoric
6bab430a4e Enable extensions in lein.bat. 2010-12-18 10:43:11 +01:00
Matjaz Gregoric
637a05ccc0 Fix a lein.bat bug when run from the root folder.
When running lein commands from the root folder on windows (such as "C:\"),
special care needs to be taken to escape the final backslash.
2010-12-18 10:12:36 +01:00
Matjaz Gregoric
24b2403a4b Fix a bug in lein.bat when LEIN_DIR contains parens.
lein.bat would fail to run when installed into a folder whose path name
contains parentheses (such as "Program Files (x86)").
2010-12-18 09:37:17 +01:00
Matjaz Gregoric
95d8be568f Let plugins take precedence in lein.bat when running from checkout. 2010-12-17 09:09:37 +01:00
Phil Hagelberg
a246815bf4 Release 1.4.1. 2010-12-16 21:41:44 -08:00
Phil Hagelberg
9f12894edb Fix bug where plugins didn't take precedence in lein checkouts. 2010-12-15 20:38:27 -08:00
Phil Hagelberg
fd61cd5bae Wrap leiningen.original.pwd in quotes. Fixes #143. 2010-12-09 12:46:33 -08:00
Phil Hagelberg
e0cc603fba Bump to version 1.4.1-SNAPSHOT. 2010-12-09 12:46:33 -08:00
Phil Hagelberg
b3e113f211 Release 1.4.0. 2010-12-02 18:29:06 -08:00
Phil Hagelberg
ce1fe52c97 Switch to $() shell execution for font-lock purposes. 2010-12-02 18:17:36 -08:00
Phil Hagelberg
b3fe397891 Switching all Github URLs to https. 2010-12-02 18:16:25 -08:00
Phil Hagelberg
3926a0f1b5 Fix rlwrap detection on Solaris. 2010-11-26 14:41:11 -08:00
Phil Hagelberg
2ccb502f9b Fix conditional for falling back to JLine. 2010-11-24 20:27:51 -08:00
Phil Hagelberg
26d7631486 Release 1.4.0-RC2. 2010-11-20 20:42:32 -08:00
Matjaz Gregoric
da8f0858b5 Replace tabs with spaces. 2010-11-19 20:12:28 -08:00
Matjaz Gregoric
6b14ccd6bd Convert the original pwd to windows style when on cygwin. 2010-11-19 20:12:28 -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