Commit graph

442 commits

Author SHA1 Message Date
Phil Hagelberg
0da32574a7 Load :dependencies in eval-in-leiningen cases. 2012-01-12 09:07:26 -08:00
Phil Hagelberg
2c58368012 Load plugins inside leiningen.core.project/read. 2012-01-12 09:06:56 -08:00
Phil Hagelberg
4064065bd5 Fix compile task and tests. Punt on transitive cleaning for now. 2012-01-10 22:12:37 -08:00
Phil Hagelberg
c2b40834e0 OK, so relative paths in project maps was the wrong way to go. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
f6b2882b7f Fix a couple tests. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
d9a3cdd82f Checkout deps shouldn't apply default profiles. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
da54afa8c8 Document a couple functions. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
284c06476f Add debug profile. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
7a0449e6d6 Fix run tests. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
0b3314b0ad Expose pre-merged project without profiles applied on metadata. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
69e286628c Fix and test profile aliases. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
4ccbbfd2bb Allow profiles to be aliased to other profiles using keywords. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
d490acd9d7 Read profiles from ~/.lein/profiles.clj and :profiles key in defproject. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
7a59a30193 Merge maps in profiles correctly. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
d170dae303 Implement merging profiles into project maps. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
a9c945505b Add a test for unquote. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
57ac6a705c Simplify representation of paths and deps to prepare for profiles.
Basically any path not considered an output (target) is expanded to
support a vector rather than a single value. This will allow profiles
to work by concatenating additional values into these keys.
:dev-dependencies is also dropped in favour of :dependencies inside a
:dev profile, though the actual implementation of profiles isn't
implemented.
2012-01-06 21:27:20 -08:00
Justin Balthrop
ac3e84ea24 classlojure 0.6.5 2011-12-08 15:42:39 -08:00
Anthony Grimes
4c4ede10b9 Fix a bug where native deps were not being added to the java.library.path. Hyphens vs dots. 2011-12-08 14:13:11 -06:00
Phil Hagelberg
07e9b4d0bc Fixed deps task; tests are still a mess. 2011-12-03 13:11:39 -08:00
Phil Hagelberg
6540de69a4 Un-mapify :repositories before handing off to pomegranate. 2011-12-03 12:41:11 -08:00
Nelson Morris
5184b8017e Update tests for compile tests
The classpath was changed to use absolute paths for the checkout
dependencies.  They were pointing to the wrong directory since the
working directory would be the leiningen project instead of the
test project.

This adds the absolute paths for test projects back, as just
changing the classpath does not help for the other tasks.
2011-12-03 13:39:22 -06:00
Phil Hagelberg
2c4fdac5e1 Normalize :repositories values into map. This fixes search task. 2011-12-02 21:02:01 -08:00
Phil Hagelberg
85b1dc5e81 Absolutize paths inside get-classpath for now. 2011-12-02 20:48:58 -08: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
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
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
da3028a514 Fix eval-in-project and project/read. 2011-11-22 13:47:52 -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
Phil Hagelberg
6bdfd3e5c3 Fix compile task. 2011-11-20 14:37:15 -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
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