Commit graph

276 commits

Author SHA1 Message Date
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
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
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