Phil Hagelberg
030e41d72e
Remove jline from lein.bat.
2012-04-01 09:17:27 -07:00
Phil Hagelberg
39a6b2c63a
Remove Clojure 1.2 from bootclasspath in lein.bat. Might fix #486 .
2012-03-31 16:09:42 -07:00
Phil Hagelberg
d7a835efa9
We don't use CLOJURE_JAR anymore.
...
[ci skip]
2012-03-27 16:13:17 -07:00
Andrew Kondratovich
9afede1820
fixed normal/trampoline statement and arguments
2012-03-23 13:33:59 +03:00
Andrew Kondratovich
f28018a075
fixed lein self-install on windows
2012-03-21 20:32:30 +03:00
Phil Hagelberg
352e8d3f05
Fix target/classes vs classes mismatch in bin/lein.
...
In conclusion, freaking protocols.
2012-03-19 15:37:40 -07:00
Phil Hagelberg
245b036a4a
Back to 2.0.0-SNAPSHOT.
2012-03-11 21:06:48 -07:00
Phil Hagelberg
82bbd3b601
Release 2.0.0-preview2.
2012-03-08 20:33:47 -08:00
Phil Hagelberg
cc711200a4
Move version back to 2.0.0-SNAPSHOT.
2012-03-07 14:24:03 -08:00
Phil Hagelberg
efe16d5dee
Release 2.0.0-preview1.
2012-03-07 12:06:48 -08:00
Phil Hagelberg
201afa4830
Do full AOT in Leiningen project itself.
...
Can't get it to boot in under a second otherwise.
2012-03-07 11:30:26 -08:00
Phil Hagelberg
fe14bed743
Make "lein upgrade" look at preview branch.
2012-03-06 19:49:10 -08:00
Phil Hagelberg
15f0540c04
Use bootstrap classpath for Leiningen.
2012-03-06 19:49:04 -08:00
Phil Hagelberg
532496a1ab
Merge branch '1.x'
...
Conflicts:
.gitignore
README.md
bin/lein
project.clj
src/leiningen/compile.clj
src/leiningen/core.clj
src/leiningen/help.clj
src/leiningen/jar.clj
src/leiningen/repl.clj
test/leiningen/test/deps.clj
test/leiningen/test/help.clj
todo.org
2012-03-04 21:22:20 -08:00
Phil Hagelberg
29c262da3b
Don't put $LEIN_DIR/lib on the classpath; that's deprecated.
2012-02-25 22:01:53 -08:00
Tobias Crawley
95aa910052
Bash isn't necessary.
2012-02-16 15:38:19 -05:00
Tobias Crawley
ce65b18049
Allow lein to run when called with no tasks and no .lein-classpath
...
In that case, $1 isn't set, causing sh to barf on the test.
2012-02-16 15:34:53 -05:00
guns
449c78f490
Replace whoami
with id -u
test
...
`id -u` is in the POSIX and LSB specs [1], while `whoami` is not.
Furthermore, the username of UID 0 can be changed (and is sometimes
recommended in a misguided attempt to increase security).
FreeBSD users logged in as `toor` would also slip through the cracks.
[1]: http://pubs.opengroup.org/onlinepubs/009695399/utilities/id.html
http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/command.html
2012-02-09 18:58:11 -06:00
Phil Hagelberg
80e2b20378
Use absolute paths when checksumming lein's own project.cljs.
2012-02-07 20:26:23 -08:00
Phil Hagelberg
dad9b14cd4
Drop JLine/rlwrap since we have reply. Allow any task to trampoline.
2012-02-07 20:10:51 -08:00
Phil Hagelberg
61f91add22
Fix lein-classpath calculation; the shell hates me for some reason?
2012-02-07 19:00:30 -08:00
Phil Hagelberg
52a51c3570
Recalculate .lein-classpath when project.clj changes.
2012-02-07 18:25:07 -08:00
Phil Hagelberg
30bdafc9d6
Promote leiningen-core/src in classpath when working in checkout.
2012-02-07 17:09:08 -08:00
Phil Hagelberg
622cd625d9
Calculate lein's own classpath in bin/lein.
...
Bootstrapping like a boss.
2012-01-23 19:17:14 -08:00
Phil Hagelberg
b4661d8cb9
Tidy up from-checkout classpath setup.
2012-01-17 15:11:24 -08:00
Phil Hagelberg
d49099eba6
Fix running-from-a-checkout detection in bin/lein.
2012-01-17 14:57:24 -08:00
Phil Hagelberg
cea185d334
Tiered compilation in bin/lein.
2012-01-17 14:55:24 -08:00
Phil Hagelberg
d8190b1cb7
Move -main to leiningen.core.main.
2012-01-15 20:20:02 -08:00
Phil Hagelberg
042ec19404
Update readme for lein2.
2012-01-12 16:10:32 -08:00
Phil Hagelberg
e0e0fe24ac
Keep Clojure off the bootstrap classpath temporarily.
2011-12-02 20:53:04 -08:00
Phil Hagelberg
e4d786143d
Read plugins from ~/.lein/plugins2 for now.
...
Context:
<technomancy> Scheeeeeeeeeeeeeeeeiiiiiiiiiiiiiiiiiß [20:32]
<technomancy> user-level plugins have to be on the classpath ahead of
leiningen's own jar, or they can't override built-in tasks
[20:33]
<technomancy> but that means plugins *cannot* be compatible between
Leiningen 1.x and 2.x
<technomancy> as long as they pull in clojure
<technomancy> because each plugin is an uberjar
<technomancy> bugger. that. [20:34]
<technomancy> maybe we can add a global exclusion for org.clojure/clojure
at plugin install time
2011-12-02 20:49:32 -08:00
Phil Hagelberg
9fae735af7
Add leiningen-core's src/ dir to the bin/lein classpath.
...
checkout-deps don't work in eval-in-project, but this is just as good.
2011-12-02 19:16:34 -08:00
Phil Hagelberg
74fcb25976
OK, now lein version at least runs again. Whew!
2011-11-19 21:07:34 -08:00
Phil Hagelberg
51ceffdc06
Switch from leiningen.core to leiningen.main.
2011-11-19 20:44:21 -08:00
Matjaz Gregoric
1dd8d145db
Properly escape USERPROFILE in lein.bat.
...
Closes #331 .
2011-11-17 09:05:51 +01:00
Phil Hagelberg
f3e2518730
Add quotes to JVM_OPTS in bin/lein.
2011-11-12 13:48:33 -08:00
Phil Hagelberg
3b02d41e83
Merge branch '1.x'
...
Conflicts:
README.md
bin/lein
bin/lein-pkg
bin/lein.bat
doc/PLUGINS.md
pom.xml
project.clj
src/leiningen/compile.clj
src/leiningen/trampoline.clj
todo.org
2011-11-12 13:46:59 -08:00
Phil Hagelberg
9c94368393
Release 1.6.2.
2011-11-12 11:30:55 -08:00
Phil Hagelberg
005b1612e4
Use $PWD when determining "bundled lein".
2011-11-11 14:59:06 -08:00
Matjaz Gregoric
8a3c5de4ad
Implement bundled mode in lein.bat.
2011-11-11 23:45:02 +01:00
Phil Hagelberg
53726ef2fe
Running in $HOME is not running in bundled mode.
2011-11-11 08:49:50 -08:00
Phil Hagelberg
68bc6ff905
Port relevant changes from bin/lein to bin/lein-pkg.
2011-11-11 08:26:42 -08:00
Phil Hagelberg
c0fb992dfa
Pull in updated lein-pkg from Debian.
2011-11-11 08:10:37 -08:00
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