Commit graph

1411 commits

Author SHA1 Message Date
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
85b1dc5e81 Absolutize paths inside get-classpath for now. 2011-12-02 20:48:58 -08:00
Phil Hagelberg
8c081f0db9 Merge pull request #345 from xeqi/master
Update tests for run task
2011-12-02 19:56:39 -08:00
Nelson Morris
cd5cd2c0d9 Update the run task tests for 2.0
The test.helper needed to change the project map for the test projects
because eval-in-project uses get-classpath, which will return the
relative paths for some directories.  This breaks in this case since
the working directory is not the root of the test project.
2011-12-02 21:45:47 -06:00
Phil Hagelberg
08097d409c Add test for leiningen.core.project namespace. 2011-12-02 19:23:59 -08:00
Phil Hagelberg
4b7d53740e Merge remote-tracking branch 'ninjudd/master' 2011-12-02 19:18:03 -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
2b074c09b0 Switch run task over to using leiningen-core library.
Broken only because sample-project reading in test.helper is still busted.
2011-12-02 16:00:32 -08:00
Phil Hagelberg
7ff6478f5a Try to fix reading of sample projects in leiningen.test.helper.
Still broken unfortunately; getting inexplicable NPE out of resolve.
2011-12-02 16:00:32 -08:00
Phil Hagelberg
708a586242 Use leiningen.core.classpath from classpath task. 2011-12-02 16:00:32 -08:00
Phil Hagelberg
eacddf1128 Merge pull request #343 from acgetchell/patch-1
Test selectors were mentioned earlier
2011-12-01 09:44:54 -08:00
Adam Getchell
61f6455db9 Test selectors were mentioned earlier, and they go in project.clj, so should be reflected later on. 2011-12-01 00:15:31 -08:00
Anthony Grimes
d320cd0818 Added newlines to the end of all template files. Fixes #339. 2011-11-29 12:55:53 -06:00
Justin Balthrop
18719c9e01 add eval-in :classloader 2011-11-24 08:31:43 -08:00
Justin Balthrop
4cd8c4b355 remove :eval-in-leiningen check 2011-11-23 17:49:15 -08:00
Justin Balthrop
b15736008b add eval-in multimethod and add support for :eval-in project key 2011-11-23 16:27:51 -08:00
Justin Balthrop
fd1a2b3539 simple leiningen-core eval test 2011-11-23 16:16:47 -08:00
Phil Hagelberg
4eb88c7861 Add explicit hooke dep to leiningen-core. 2011-11-23 14:07:10 -08:00
Phil Hagelberg
0b8f061f2a Fix silly classpath test. 2011-11-22 17:50:20 -08:00
Phil Hagelberg
4575143988 Fix test task. 2011-11-22 16:00:46 -08:00
Phil Hagelberg
da3028a514 Fix eval-in-project and project/read. 2011-11-22 13:47:52 -08:00
Phil Hagelberg
760afd3e6c Merge remote-tracking branch 'Raynes/master' 2011-11-21 12:32:25 -08:00
Phil Hagelberg
cadde5a2a0 Drop deprecated arities of eval-in-project. 2011-11-21 12:31:09 -08:00
Phil Hagelberg
98d8aa8f97 Better marginalia-friendly docs for leiningen-core. 2011-11-21 12:31:05 -08:00
Anthony Grimes
40fdf2419f Merge branch 'master' of git://github.com/technomancy/leiningen 2011-11-20 16:39:30 -06:00
Phil Hagelberg
5ab0a897ea Update todo.org with 2.0 tasks. 2011-11-20 14:38:13 -08:00
Phil Hagelberg
6bdfd3e5c3 Fix compile task. 2011-11-20 14:37:15 -08:00
Anthony Grimes
3ecf047369 Merge lein-newnew into Leiningen proper. 2011-11-20 16:36:10 -06:00
Phil Hagelberg
cd780c8267 Disable CI tests for master for now. 2011-11-20 14:06:09 -08:00
Phil Hagelberg
8488b22764 Move leiningen.util.ns to leiningen.core.ns. 2011-11-20 13:46:36 -08:00
Phil Hagelberg
74fcb25976 OK, now lein version at least runs again. Whew! 2011-11-19 21:07:34 -08:00
Phil Hagelberg
c7583008eb Remove interactive and test! tasks. 2011-11-19 20:45:47 -08:00
Phil Hagelberg
7d993c2c09 Make clean task just about target-dir. 2011-11-19 20:44:25 -08:00
Phil Hagelberg
51ceffdc06 Switch from leiningen.core to leiningen.main. 2011-11-19 20:44:21 -08:00
Phil Hagelberg
9598ab778a Add repositories handling in defproject. 2011-11-19 20:36:29 -08:00
Phil Hagelberg
8131832fdd Add leiningen.core.eval; still needs plenty of work. 2011-11-19 16:08:29 -08:00
Phil Hagelberg
91d7a283f9 Begin work on 2.0 in leiningen-core library. 2011-11-19 16:01:07 -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
b8bdde841a Disable :checksum-deps when writing shell wrappers. 2011-11-12 12:25:28 -08:00
Phil Hagelberg
9c94368393 Release 1.6.2. 2011-11-12 11:30:55 -08:00
Phil Hagelberg
7c067a5e33 Ensure explicit deps calls override :checksum-deps. 2011-11-12 06:54:09 -08:00
Matjaz Gregoric
32ebf41f23 Call System/gc before deleting files recursively.
Calling System/gc can help release files on windows.
It will hopefuly help with issues such as #252 and #309.

I wasn't able to reproduce those two issues on Windows
Vista, but I have experienced a related problem when
running the leiningen test suite when some jar files
failed to be deleted. Calling System/gc resolved the
issue in that case.
2011-11-12 09:00:19 +01:00
Matjaz Gregoric
04061ff4df Fix trampoline task for lein.bat. 2011-11-12 00:37:51 +01:00
Phil Hagelberg
701cf1b904 Remove test line that accidentally snuck in. 2011-11-11 15:02:22 -08:00
Phil Hagelberg
005b1612e4 Use $PWD when determining "bundled lein". 2011-11-11 14:59:06 -08:00
Phil Hagelberg
1ba201f447 Explain eval-in-project with dummy project arg in plugin docs. 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
e2d09b01b6 Need to make *err* a PrintWriter. 2011-11-11 09:17:22 -08: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