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
Matjaz Gregoric
d0098d7ec5
Let the test! task run under lein.bat.
...
Due to delayed expansion enabled, the bang would get lost and
test! would get interpreted as test.
Fix this by disabling delayed expansion before running the command.
2010-11-18 11:02:31 +01:00
Matjaz Gregoric
ac90018d70
Use the -Xbootclasspath trick in lein.bat.
...
This cuts lein startup time from 2.5 seconds
down to 1.5 on Vista.
2010-11-18 11:02:30 +01:00
Phil Hagelberg
ba3d4db49f
Don't allow JLINE env var to mess up lein run. Fixes #131 .
2010-11-10 14:06:30 -08:00
Phil Hagelberg
5075cf53d6
Release 1.4.0-RC1.
2010-11-07 16:10:42 -08:00
Phil Hagelberg
74f0e8f26d
Keep self-install jars in ~/.lein/self-installs instead of ~/.m2.
2010-11-07 16:09:20 -08:00
Phil Hagelberg
5182797f86
Fall back to Clojure 1.2 until bootclasspath issues are resolved.
2010-11-07 13:44:31 -08:00
Matjaz Gregoric
aa421fd1a7
Skip wget cert check in lein.bat.
2010-11-07 15:46:16 +01:00
Matjaz Gregoric
2148769164
Replace homedrive + homepath with userprofile.
2010-11-07 09:50:05 +01:00
Matjaz Gregoric
1d9d95c646
Expose leiningen.original.pwd in lein.bat.
2010-11-07 09:46:05 +01:00
Matjaz Gregoric
832cb1a363
Modify lein.bat to allow running from source.
2010-11-06 23:25:54 +01:00
Matjaz Gregoric
a3632e3cac
Add test folder to the classpath.
2010-11-06 23:25:53 +01:00
Phil Hagelberg
5dcd5aa40e
Skip curl cert check in lein.bat as well.
2010-11-06 14:07:07 -07:00
Phil Hagelberg
00205012c6
Ignore SSL certs while we wait for Github to get their act together.
2010-11-04 09:12:23 -07:00
Matjaz Gregoric
748d5ce76c
Use a backslash instead of a forward slash.
2010-10-30 10:00:08 +02:00
Matjaz Gregoric
dae65b59e0
Allow for spaces in LEIN_HOME.
2010-10-30 08:10:01 +02:00
Matjaz Gregoric
cf24a972bd
Allow customization with JAVA_CMD and JAVA_OPTS.
2010-10-30 08:03:14 +02:00
Matjaz Gregoric
d18f5c4b47
Don't use JLine when inside_emacs.
2010-10-30 08:03:12 +02:00
Matjaz Gregoric
5da11332af
Use JLine in repl and interactive tasks.
2010-10-30 08:03:11 +02:00
Matjaz Gregoric
e05bb7913c
Simplify argument handling with the %* special variable.
2010-10-30 08:03:10 +02:00
Matjaz Gregoric
b80003b933
Add leiningen plugin locations to the classpath.
2010-10-30 08:03:09 +02:00
Matjaz Gregoric
9b3126d7ee
Avoid a goto statement.
2010-10-30 08:03:08 +02:00
Matjaz Gregoric
6bb95ba166
Move setLocal command higher up the file.
2010-10-30 08:03:07 +02:00
Matjaz Gregoric
30584eabe6
Convert lein.bat to DOS-style line endings.
2010-10-30 08:03:03 +02:00
Matthew Maravillas
7e157036f8
Set LEIN_JAR before handling args
2010-10-30 08:00:32 +02:00
Colin Jones
3c473d9fa6
Allow for spaces in LEIN_JAR path in lein.bat.
2010-10-28 23:43:42 -05:00
pm-bauer
434482b4a2
Added quote marks around CLASSPATH variable to fix parsing error in cygwin.
2010-10-25 18:59:02 -07:00
Phil Hagelberg
f732bfeebf
Support :eval-in-leiningen key in project.clj for plugins.
2010-10-24 14:28:26 -07:00
Phil Hagelberg
de27390d1b
Don't create new skeleton in root. Expose leiningen.original.pwd.
2010-10-23 13:22:11 -07:00
Phil Hagelberg
72270396a4
Mostly todos.
2010-10-16 09:35:35 -07:00
Phil Hagelberg
bd77377a91
Silently delete failed self-install downloads.
2010-09-21 20:16:29 -07:00
Phil Hagelberg
7f5b8627a6
Ready for 1.4.0-SNAPSHOT.
2010-09-08 14:06:17 -07:00
Phil Hagelberg
2ea4b63e58
Release 1.3.1.
2010-09-07 18:54:35 -07:00
Phil Hagelberg
5ff106e96b
Auto-self-install on demand.
2010-09-02 20:17:40 -07:00
Phil Hagelberg
484e33397a
Use LEIN_VERSION env var instead of system property.
2010-08-28 12:41:18 -07:00
Phil Hagelberg
94f08b5966
Don't allow malformed checkout deps to interfere with eval-in-project.
2010-08-26 17:50:23 -07:00
Isaac Hodes
31ea0932fe
Changed VERSION in bin/lein to LEIN_VERSION, and export it.
...
Check to ensure :min-lein-version is less than or equal to the current
leiningen version
2010-08-23 21:14:59 -07:00
unknown
1b6f36f6ab
prune lein.bat for unwanted code
...
add self-install feature to lein.bat
add dummy upgrade feature to lein.bat
2010-08-22 01:22:19 +05:30
Phil Hagelberg
b6347f08f9
Back to 1.3.1-SNAPSHOT; we have unfinished business here.
2010-08-20 17:56:31 -07:00
Phil Hagelberg
5b76514ea6
Bump version to 1.4.0-SNAPSHOT.
2010-08-20 13:58:50 -07:00
Phil Hagelberg
b93f5e4feb
Release 1.3.0!
2010-08-19 21:15:59 -07:00
Phil Hagelberg
7efb72f963
Fix help task to ignore hooks.
2010-08-19 20:54:50 -07:00
Phil Hagelberg
fe2927a9f2
Upgrade Leiningen and "new" task to Clojure 1.2.0 stable.
2010-08-19 20:54:28 -07:00
Phil Hagelberg
7e4a5c09c2
Give more useful error message on self-install.
2010-08-16 21:46:31 -07:00
Phil Hagelberg
2cf9683257
Bump to 1.3.0-RC1
2010-08-16 21:39:43 -07:00
Phil Hagelberg
f790f14b97
Oops; shell scripts don't use ==. Fixes #93 .
2010-08-16 13:14:15 -07:00
Phil Hagelberg
b8b9b6c685
Change directories to project root before calculating classpath.
2010-08-11 18:22:25 -07:00
Phil Hagelberg
8012a50c88
Include bin scripts in generated jars when specified in :shell-wrapper.
2010-08-09 18:11:37 -07:00
Phil Hagelberg
0e7599e729
Add support for user-level plugins.
2010-08-08 13:33:04 -07:00
Laurence Hygate
723ba075a0
Fix problem using jline on cygwin on later versions of windows
2010-08-08 11:06:38 -07:00
Phil Hagelberg
2f5cbde7d0
Remove bashisms for portability. Thanks to Mike Meyer.
2010-08-08 11:00:14 -07:00
Will Morgan
69c325e032
Quote argument in shell script. Fixes #79 .
2010-08-08 09:56:25 -07:00
Phil Hagelberg
4a848077a2
Bump version to 1.3.0-SNAPSHOT.
2010-07-31 09:37:03 -07:00
Phil Hagelberg
49beabb67f
Yeah, so we want rlwrap with the interactive task too.
2010-07-30 21:23:50 -07:00
Phil Hagelberg
c82fcaf4c1
Warn when running as root.
2010-07-30 13:28:45 -07:00
Phil Hagelberg
c461fa75dd
Merge remote branch 'lozh/windows-fixes'
2010-07-28 21:54:23 -07:00
Phil Hagelberg
1a64da9987
Detect download failures in self-install.
...
Come on curl; please don't silently accept 404s.
2010-07-28 21:30:16 -07:00
Phil Hagelberg
ae98527789
Add Building section to README.
2010-07-27 20:14:01 -07:00
U-Maximillian\loz
e5904bedab
fix syntax error and some quoting problems
2010-07-26 09:37:32 +01:00
Laurence Hygate
9422fe4b33
Search parent directories for project.clj if necessary (lein.bat)
...
Deal with cygwin better (lein)
2010-07-23 17:19:15 +01:00
Phil Hagelberg
8fe309db58
Mention disabling the self-install/upgrade task for packagers.
2010-07-21 23:14:52 -07:00
Phil Hagelberg
13dff97c1d
Bump version to 1.2.1-SNAPSHOT.
2010-07-21 23:14:48 -07:00
Phil Hagelberg
c21bbd9aed
Release 1.2.0.
2010-07-18 13:41:03 -07:00
Phil Hagelberg
cea853ad52
Update -Xbootclasspath Clojure version
2010-07-17 16:17:14 -07:00
Phil Hagelberg
12e15fd879
Don't use rlwrap if inside Emacs. Fixes #73 .
...
It causes a "floating point exception" in rlwrap, and it isn't needed anyway.
2010-07-17 11:02:48 -07:00
Phil Hagelberg
0e46cc1608
Bump version to 1.2.0-RC2.
2010-06-26 15:10:24 -07:00
Phil Hagelberg
9874a42094
Re-enable rlwrap in bin script.
2010-06-21 19:21:22 -07:00
Phil Hagelberg
1e89f0299d
Snapshot versions now work with self-install.
...
Previously there was too much churn in the bin script to make this
feasible, but now that things have stabilized we should be able to use
self-install without breaking compatibility between the shell script
and the Clojure code.
2010-06-13 20:02:19 -07:00
Phil Hagelberg
43ee48e277
Version 1.2.0-RC1.
2010-06-12 15:38:48 -07:00
Phil Hagelberg
ee96d8e24c
Traverse up the current directory's ancestors to find project root.
2010-05-27 12:54:43 -10:00
Phil Hagelberg
23991a2f86
Allow $JAVA_CMD to be customized.
...
Makes it easier to swap out a 32-bit JVM where you want to reduce boot
time by using the Client Hotspot.
2010-05-22 14:28:39 -10:00
Tero Parviainen
43038d1dc1
Added Cygwin support to the lein script
2010-05-15 00:13:28 -07:00
DRT
2be6905ae7
Changed lein script to compensate for lack of /dev/null under Windows
2010-05-15 00:10:05 -07:00
Phil Hagelberg
52e561aace
Add src/ to lein-level classpath so it can contain lein tasks.
...
Thanks ninjudd.
2010-05-14 22:46:54 -07:00
Phil Hagelberg
85b84bc4fa
Fix classpath calculation to use ls instead of find. (Thanks Licenser)
2010-04-19 22:23:12 -07:00
Phil Hagelberg
9fd8cb23e7
Quit using that nasty $ESCAPED_ARGS hack for leiningen.core/-main.
2010-04-16 22:34:45 -07:00
Phil Hagelberg
cd4b56972c
Keep dev-dependencies in lib/dev, out of the way of uberjar.
2010-04-16 22:24:01 -07:00
Phil Hagelberg
44b6369aec
Move repl task out of shell script, finally! Depends on Clojure ticket #299 .
2010-04-16 21:46:53 -07:00
Phil Hagelberg
e886afb457
Upgrade to Clojure 1.2.0-master-SNAPSHOT.
2010-04-16 21:25:59 -07:00
Phil Hagelberg
f83bf739e7
Use rlwrap if detected.
2010-04-06 22:29:59 -07:00
Peter Schuller
dcb2d54bf2
Do not assume bash it as /bin/bash; use /usr/bin/env bash.
2010-04-06 22:17:42 -07:00
dakrone
a726c4aad4
Add ability to specify jline usage with env variable.
...
Set LEIN_USE_JLINE=false and 'lein repl' will not use jline when
starting a REPL. Also updated the README's FAQ to add this.
2010-04-06 21:50:40 -07:00
Phil Hagelberg
8a687e7c94
Check a project's src/ dir for leiningen tasks.
2010-03-15 21:25:46 -07:00