Commit graph

1403 commits

Author SHA1 Message Date
Phil Hagelberg
64c381c001 Remove deprecated util namespaces (except ns; still needs work). 2012-01-10 23:25:08 -08:00
Phil Hagelberg
a749666bb7 Fix help task.
One namespaces-matching call still hasn't been switched over to leiningen.core.
2012-01-10 22:44:02 -08:00
Phil Hagelberg
6530927bcb Fix "lein compile :all". 2012-01-10 22:35:36 -08:00
Phil Hagelberg
7b147ee2bf Get repl and trampoline tasks to at least compile. 2012-01-10 22:32:21 -08:00
Phil Hagelberg
f8708a445d Remove deprecated :repl-init-script. 2012-01-10 22:13:14 -08:00
Phil Hagelberg
c0adabb208 Fix jar task. Punt on shell wrappers for now. 2012-01-10 22:12:57 -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
464e631bef Remove plugin task. 2012-01-10 22:09:12 -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
1fe2fed158 Fix deps tests. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
bfe2c32fd2 Remove dev-deps-only test project. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
a6fe9e148e Fix test task for :test-path-as-collection. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
bee65686e4 Full test suite will at least compile.
Tests which we don't expect to pass are marked with :busted metadata.
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
528e9c70e6 Generate pom from pre-profile project. 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
3e23fb126b Remove old core tests. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
7a0449e6d6 Fix run tests. 2012-01-06 21:27:20 -08:00
Phil Hagelberg
cfb0714d8e Add with-profile task. 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
Phil Hagelberg
3bdd6997ee Merge pull request #359 from scottjad/patch-1
Include commented out :url option in default project.clj
2011-12-29 14:32:04 -08:00
scottjad
00a081133b Include commented out :url option in default project.clj 2011-12-29 17:30:41 -05: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
0a0f8ad43c Expand HACKING.md a bit. 2011-12-04 19:43:14 -08: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
4069839b03 Compile works 2011-12-03 14:08:35 -06:00
Nelson Morris
690c7966f4 Update tests for test task. 2011-12-03 14:07:24 -06: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
24a89ee1d7 Add note about master branch to readme. 2011-12-03 09:00:09 -08:00
Phil Hagelberg
2c4fdac5e1 Normalize :repositories values into map. This fixes search task. 2011-12-02 21:02:01 -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
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