Commit graph

85 commits

Author SHA1 Message Date
Phil Hagelberg
432c4eae41 Link to the EPL in project.clj. 2012-02-08 22:55:48 -08:00
Phil Hagelberg
61522df1af Be more forgiving of sparse project maps in eval-in-project. 2012-02-08 22:55:19 -08:00
Phil Hagelberg
c11a3a83c0 Absolutize paths in :without-profiles project map as well. 2012-02-08 00:18:31 -08:00
Phil Hagelberg
bc22a95f66 Implement a few partially-applied help aliases. 2012-02-07 23:26:47 -08:00
Phil Hagelberg
dc1fa56950 Allow aliases to specify partially-applied tasks.
Love it... except for the bits dealing with varargs; yuck!
2012-02-07 23:26:47 -08:00
Phil Hagelberg
98ad4f9897 Profiles mean :jvm-opts in user/settings isn't necessary. 2012-02-07 20:58:48 -08:00
Phil Hagelberg
07c699cb6f Warn when profile is specified that doesn't exist. 2012-02-07 20:32:04 -08:00
Phil Hagelberg
c48f6ee9df Move absolutize-path call into merge-profiles.
Otherwise merge-profiles isn't any good for keys that involve paths
outside leiningen.core.project/read.
2012-02-07 18:15:03 -08:00
Phil Hagelberg
1c0f2099f9 Move :dev profile to :default in default-profiles.
Otherwise project-level :dev profiles will stomp on the inclusion of
nrepl and friends.

Conflicts:

	bin/lein
2012-02-07 17:09:34 -08:00
Phil Hagelberg
032a023eb5 Fix trampoline task. 2012-02-07 17:09:09 -08:00
Anthony Grimes
7a7945880f Move reply and lein-newnew to lein's own project.clj.
The only reason this wasn't possible before was because the classpath
was being cached in .lein-classpath, giving the appearance of those
dependencies not being seen.
2012-02-07 16:12:14 -06:00
Anthony Grimes
385867d8f2 Add Clojure exclusions across the board.
This should fix travis failures.
2012-02-07 16:01:26 -06:00
Colin Jones
6042a92e5c Enable completion for non-leiningen projects 2012-02-07 07:45:55 -06:00
Anthony Grimes
31217cfdb2 Hardcore merging action. 2012-02-07 02:59:48 -06:00
Phil Hagelberg
772679473c Allow :dependencies to be loaded after profiles in :eval-in-leiningen. 2012-02-06 17:30:03 -08:00
Anthony Grimes
75a062dfb7 WIP new lein repl task that uses reply. 2012-02-06 19:29:31 -06:00
Phil Hagelberg
00b3caea1b Honor :hooks. Allow hook namespaces to contain "activate" defn.
This lets us avoid nasty top-level side-effects.
2012-02-06 17:29:31 -08:00
Phil Hagelberg
cddd1d96ac Help, search, and repl tasks may run outside projects. 2012-02-06 17:24:40 -08:00
Anthony Grimes
a68774c36a Inc lein-newnew version to fix boogz. 2012-02-05 14:56:56 -06:00
Anthony Grimes
8f2c0c178e Remove newnew stuff from leiningen and add it as a dependency. 2012-02-05 04:21:14 -06:00
Anthony Grimes
32543350d9 Clean up a bit.
Don't pass the whole project when we can just pass the single value it
uses from it instead.
2012-02-04 17:34:40 -06:00
Anthony Grimes
91efae3327 Add native deps extraction. 2012-02-04 17:28:53 -06:00
Nelson Morris
09483ed64d Update pomegranate; all repo/dependency options should work 2012-02-01 21:20:20 -06:00
Phil Hagelberg
a1e5ee9bb9 Don't splice injected forms. 2012-02-01 17:58:51 -08:00
Phil Hagelberg
2f73e7dcef Merge remote branch 'JulianBirch/master' 2012-01-29 14:00:58 -08:00
Phil Hagelberg
0f855f96b8 Document prep-tasks, clean up ignores. 2012-01-29 13:59:07 -08:00
Phil Hagelberg
8a2baf54cc Warn when encountering user-level repositories. 2012-01-29 13:48:49 -08:00
Julian Birch
7f58cbcee5 Added support for replacing/displacing profile values instead of merging. 2012-01-28 21:10:52 +00:00
Phil Hagelberg
751a75532e Support :injections project key. 2012-01-24 20:55:24 -08:00
Phil Hagelberg
326df9578a Merge pull request #377 from timmc/master
\d+ for extracting version segments
2012-01-23 19:18:07 -08:00
Phil Hagelberg
b26928441b Add prep-tasks for precompile/javac. 2012-01-23 19:05:04 -08:00
Tim McCormack
ea91d3f1e9 Fix version comparison for multi-digit version segments (e.g. 1.273) 2012-01-23 20:45:38 -05:00
Nelson Morris
d7c335cee7 Update pomegranate version
This allows most lein v1 repository options to work.
Still need to re-add user auth from config file.
2012-01-22 22:41:47 -06:00
Phil Hagelberg
92dfe67a85 Re-enable ci for master branch. 2012-01-17 20:08:19 -08:00
Phil Hagelberg
e50ee1ba4e Fix tests for main in leiningen-core. 2012-01-17 20:08:06 -08:00
Phil Hagelberg
6ff6d603ad Move dynamic resolution of eval-in-leiningen :dependencies. 2012-01-17 15:11:46 -08:00
Phil Hagelberg
bb33e60639 Fix typo. 2012-01-17 14:58:02 -08:00
Phil Hagelberg
205c58695b Move HACKING.md into leiningen-core README.md. 2012-01-15 20:43:12 -08:00
Phil Hagelberg
d5ceec16fc Update leiningen.core.main tests. 2012-01-15 20:20:15 -08:00
Phil Hagelberg
d8190b1cb7 Move -main to leiningen.core.main. 2012-01-15 20:20:02 -08:00
Phil Hagelberg
2aa664b24f Fix checkout-deps classpath test. 2012-01-12 17:07:40 -08:00
Phil Hagelberg
39b63be344 Remove support for profiles.clj in root; read profiles.clj instead of load. 2012-01-12 17:07:27 -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
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