Commit graph

1874 commits

Author SHA1 Message Date
Phil Hagelberg
042ec19404 Update readme for lein2. 2012-01-12 16:10:32 -08:00
Phil Hagelberg
30041014b4 Fix other skeleton templates to use :eval-in-leiningen. 2012-01-12 09:39:43 -08:00
Phil Hagelberg
f4836379c9 Fix help task to work with plugins added to the classpath dynamically. 2012-01-12 09:19:51 -08:00
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
45500dc076 Fix default skeleton. org.clojure/clojure is no longer special-cased. 2012-01-11 17:21:53 -08:00
Phil Hagelberg
03e462cdec Re-enable tests targeted for preview. 2012-01-10 23:26:50 -08:00
Phil Hagelberg
f25bf68168 TODO updates, separate out tasks targeted for 2.0.0-preview. 2012-01-10 23:25:13 -08:00
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
Anthony Grimes
76e708861f Fixed a bug where if the java-source-path was the same as source-path, lein jar would try to include things twice resulting in duplicate zip entry errors. 2011-12-12 18:02:14 -06:00
Anthony Grimes
192daf2111 Normalize java-source-path (so that if it actually is provided, we get a normalized path). 2011-12-12 17:41:18 -06: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
Anthony Grimes
db7d1124e9 Fix a bug where native deps were not being added to the java.library.path. Hyphens vs dots. 2011-12-08 14:05:24 -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