Phil Hagelberg
bd75def95b
Use main/info instead of println for loggish things. Fixes #473 .
2012-04-02 21:13:23 -07:00
David Santiago
0223ad8339
Fix merge-profiles so that it does not clobber existing metadata in the project map, but instead merges.
2012-04-02 17:50:24 -07:00
Phil Hagelberg
0babb90b05
Translate nonzero exit codes into exceptions. Fixes #493 .
2012-04-02 11:12:36 -07:00
Phil Hagelberg
56c8f1dd4d
Move :prep-tasks to default project instead of profile.
2012-04-02 10:29:17 -07:00
Phil Hagelberg
4b57ef2c8a
Fix absolutize to no longer assume unix paths.
2012-04-01 22:22:36 -07:00
Phil Hagelberg
3586e62e6b
Store :trampoline-promise in metadata instead of in project map. Fixes #490 .
2012-04-01 21:56:53 -07:00
Phil Hagelberg
de282bfbe5
Fix :without-profiles as per suggestion in #488 .
2012-04-01 09:13:56 -07:00
David Santiago
f52b7da79a
Fix merge-profiles so that :included-profiles metadata is added to if it is already present, instead of overwriting it.
2012-04-01 01:35:30 -07:00
Phil Hagelberg
a7c2878d36
Add debug and info functions for #473 .
...
Still need to start using them.
2012-03-30 11:09:41 -07:00
Phil Hagelberg
eef8fe3d08
Block repl on prep-tasks.
2012-03-29 18:42:36 -07:00
Phil Hagelberg
6e225eb0a9
Test needs to set-ize things.
2012-03-29 17:10:58 -07:00
Phil Hagelberg
020071e576
Whitelist classpath to just zip/jar files. Fixes #481 .
...
Helps with #457 .
2012-03-29 17:01:20 -07:00
David Santiago
2c034aa0d3
Add :included-profiles metadata to project map in merge-profiles. See issue 392.
2012-03-29 02:48:31 -07:00
Phil Hagelberg
21d9917a3f
Now :project-init is redundant with :injections.
2012-03-28 13:37:06 -07:00
Phil Hagelberg
a1d8abfb75
Add :offline profile.
2012-03-27 10:18:24 -07:00
Phil Hagelberg
6492101d36
Inline shutdown hook for killing subprocesses.
2012-03-27 10:18:17 -07:00
Phil Hagelberg
4e89806158
Shouldn't need to aot in leiningen-core anymore.
2012-03-25 19:19:36 -07:00
Colin Jones
82eeed1a4e
Destroy subprocesses on shutdown
...
This prevents orphaned processes from shelling out via
eval-in :subprocess. The song-and-dance around sh/
sh-without-orphans is to keep the public fn `sh` the same.
refs #455
2012-03-24 11:06:08 -05:00
Nelson Morris
d633fad0b6
Let deps :tree print a dependency tree
2012-03-22 22:27:16 -05:00
Phil Hagelberg
d04bc76a1b
Set :jvm-opts during eval-in :leiningen.
2012-03-20 13:53:25 -07:00
Michael S. Klishin
0761d16880
Use a more helpful message when task is not found
...
Instead of "that's not a task" print "... is not a task"
2012-03-13 23:12:05 +04:00
Phil Hagelberg
6141fdca51
Deprecate conj-dependencies.
...
This scenario should be handled by task-specific profiles instead of a
function like this.
2012-03-12 12:06:01 -07:00
Michael S. Klishin
712f1b9b84
Respect :java-cmd in project if it is given
2012-03-12 21:51:35 +04:00
Phil Hagelberg
245b036a4a
Back to 2.0.0-SNAPSHOT.
2012-03-11 21:06:48 -07:00
Phil Hagelberg
82bbd3b601
Release 2.0.0-preview2.
2012-03-08 20:33:47 -08:00
Phil Hagelberg
377904f6b8
Add :default profile in when loading plugins outside a project.
2012-03-08 10:26:02 -08:00
Roman Gonzalez
ec4f674e95
Fix documentation on add-repo-auth function
...
The documentation was after parameter list (checked out this issue via marginalia documentation).
2012-03-07 21:06:08 -08:00
Phil Hagelberg
bb381f9fd2
Handle nil :plugins key when running outside project dir.
2012-03-07 15:52:41 -08:00
Phil Hagelberg
cc711200a4
Move version back to 2.0.0-SNAPSHOT.
2012-03-07 14:24:03 -08:00
Phil Hagelberg
efe16d5dee
Release 2.0.0-preview1.
2012-03-07 12:06:48 -08:00
Phil Hagelberg
14ec91355b
Load plugins when operating outside a project dir.
2012-03-07 11:58:12 -08:00
Phil Hagelberg
f6f46c267e
Don't recursively prep project.
2012-03-07 11:30:26 -08:00
Tobias Crawley
158355303e
leiningen.core.main/task-not-found needs to be marked as not needing a project to work properly.
2012-03-07 13:59:20 -05:00
Phil Hagelberg
d6fdc21648
Allow suppressing of leiningen.core.main/exit for IDEs/tools.
2012-03-06 11:07:52 -08:00
Phil Hagelberg
1370be9725
Drop user/settings in favour of checking :user profile directly.
2012-03-06 11:07:51 -08:00
Phil Hagelberg
bf1ab79052
Port :checkout-deps-shares to master branch.
2012-03-05 17:39:48 -08:00
Phil Hagelberg
94a12b3cde
Pass through :local-repo and :offline? options to pomegranate.
2012-03-02 16:17:46 -08:00
Phil Hagelberg
c4dad5be02
Bump lein-newnew plugin to 0.2.4. Fixes #427 .
2012-03-02 14:15:14 -08:00
Phil Hagelberg
02e39e507a
Add conj-dependency function.
2012-03-01 15:50:56 -08:00
Phil Hagelberg
28397ad6eb
Test :exclusions.
2012-03-01 15:31:12 -08:00
Phil Hagelberg
5e7808796f
Move :dependencies back to vector-of-vectors.
2012-03-01 15:31:08 -08:00
Phil Hagelberg
861e4f08ea
Make leiningen-core dirs visible when testing leiningen proper.
2012-03-01 15:30:50 -08:00
Phil Hagelberg
71874208f3
Move normalization out of defproject into top-level comp.
2012-03-01 11:17:40 -08:00
Phil Hagelberg
85f2fa1935
Cosmetics.
2012-03-01 11:17:40 -08:00
Hugo Duncan
28fd085c5a
Add warning if a checkouts directory does not contain a project.clj
...
This provides a diagnostic message, will leaving open the possibility for other
type of projects in checkouts
2012-02-29 16:16:47 -05:00
Phil Hagelberg
29c262da3b
Don't put $LEIN_DIR/lib on the classpath; that's deprecated.
2012-02-25 22:01:53 -08:00
Anthony Grimes
9b0185747a
Switch to bultitude for ns finding stuff.
2012-02-24 22:15:19 -06:00
Phil Hagelberg
d0768feb11
Move prep-tasks out of atom into :default profile.
2012-02-24 15:55:55 -08:00
Phil Hagelberg
03aa94c661
Implement :middleware.
2012-02-24 15:38:10 -08:00
Chas Emerick
03b8635c67
keys in :auth :repository-auth can now be regexes matching repository URLs, fixes gh-424
2012-02-24 07:44:07 -05:00