Matthew Blair
65c3dd5766
Create new tests for use of --force option
2014-04-01 23:25:00 -04:00
Matthew Blair
f7c70fa2f0
Fix executable test - add force option since test is being run in system temp directory
2014-04-01 23:24:42 -04:00
Matthew Blair
4eb7781135
Update help text for -new- task
2014-04-01 22:55:47 -04:00
Matthew Blair
ae23f809ed
Handle :force option in ->files function
2014-04-01 22:49:27 -04:00
Matthew Blair
6ae9793181
Fix bug where use of :to-dir option with an existing directory does not generate an error
2014-04-01 22:33:25 -04:00
Matthew Blair
c8ed55f04e
Minor formatting fix
2014-04-01 20:21:33 -04:00
Jean Niklas L'orange
ebe5bf35d2
Reword error message from lein upgrade
.
2014-03-31 13:28:55 +02:00
Jean Niklas L'orange
f6591bd660
Print error message when upgrade
is unavailable.
...
Closes #1481 .
2014-03-31 13:25:15 +02:00
Phil Hagelberg
26bc63afa4
Add workaround for #1480 .
2014-03-29 21:22:40 -07:00
Phil Hagelberg
c6a49ea289
Merge pull request #1478 from MichaelBlume/use8
...
run travis tests with oraclejdk8
2014-03-28 15:58:09 -07:00
Mike Blume
f9c6bb444b
run travis tests with oraclejdk8
...
for now, allow failure, since we're allowing failure for oraclejdk7
I see no indication that travis provides openjdk8, but I may be wrong
2014-03-28 15:35:21 -07:00
Colin Jones
5e048945e7
Allow searching on multiple fields at once
...
Also allows searching by version.
Examples:
$ lein search "id:clojure group:org.clojure version:1.6"
$ lein search "id:postgres version:7.4"
$ lein search "id:postgres version:'7.4'"
2014-03-27 09:42:26 -05:00
Phil Hagelberg
199527588a
Document :clean-non-project-classes and reword help output.
...
[ci skip]
2014-03-26 13:33:12 -07:00
Jean Niklas L'orange
a296ff8918
Bump all Clojure 1.5.1 deps to 1.6.0.
2014-03-26 13:43:38 +01:00
Jean Niklas L'orange
84af9246cf
Do not depend on map ordering in tests.
2014-03-26 13:43:38 +01:00
Jean Niklas L'orange
90bf2d47cd
Consistent comment style.
2014-03-24 20:24:31 +01:00
Phil Hagelberg
110e2a14e9
Add -XX:-OmitStackTraceInFastThrow to default JVM opts.
...
Addresses #1025 .
2014-03-21 09:55:33 -07:00
Phil Hagelberg
6cdc043e9a
Adapt template template so that the #1409 fix doesn't break new templates.
2014-03-17 15:30:40 -07:00
Phil Hagelberg
ae91367b78
Tell Bultitude not to ignore unreadable namespaces in test/check.
...
Fixes #1409 .
2014-03-17 15:21:19 -07:00
Phil Hagelberg
e8da286ea7
Failing test for #1409 .
2014-03-17 14:25:44 -07:00
Phil Hagelberg
a64a47b8b8
Clarify credential prompt message in deploy task. Fixes #1435 .
2014-03-17 10:48:59 -07:00
Phil Hagelberg
a6bebc9459
Merge pull request #1470 from fredericksgary/issue-1469
...
lein run: don't catch app errors as require errors
2014-03-13 20:06:17 -07:00
Gary Fredericks
b19b305d58
Slightly more homogeneous test project names
2014-03-13 20:24:42 -05:00
Gary Fredericks
cc886d56a3
lein run: don't catch app errors as require errors
...
closes #1469
`lein run` currently has some special error handling around
FileNotFoundException which helps it decide what exactly it should
do. Unfortunately if the actual running of the given main function
itself throws a FileNotFoundException this is currently caught by
Leiningen and assumed to be a require error.
The simple solution is to run the main method outside of that error
handling block.
Regression test provided.
2014-03-13 20:17:59 -05:00
Phil Hagelberg
87edf1c15e
Merge pull request #1466 from mpblair/search-progress
...
Implement search download progress reporting
2014-03-13 14:16:17 -07:00
Matthew Blair
a45d184763
Yank gen-class definition from extstream.clj into search.clj; remove extstream.clj
2014-03-12 21:23:21 -04:00
Matthew Blair
7dc897888f
Finishing touches
2014-03-12 19:04:03 -04:00
Matthew Blair
f2a14bae38
Subclass java.io.InputStream via gen-class. Does not print progress yet, but does correctly download all search indices
2014-03-11 20:33:46 -04:00
Phil Hagelberg
6056105176
Merge pull request #1468 from fredericksgary/skip-default-init
...
Document reply's :skip-default-init option
2014-03-10 20:39:35 -07:00
Gary Fredericks
17ba59ab14
Document reply's :skip-default-init option
2014-03-10 21:15:55 -05:00
Jean Niklas L'orange
291b09008d
Merge pull request #1465 from fredericksgary/cleanup
...
Don't call concat
2014-03-08 18:04:38 +01:00
Matthew Blair
09d0bfa4b6
Implement search download progress reporting
2014-03-08 11:30:31 -05:00
Gary Fredericks
b6c079f8c8
Don't call concat
...
There, now there is slightly less code.
2014-03-08 09:25:44 -06:00
Phil Hagelberg
eb189083f8
Oh no, slimed!
2014-03-07 11:54:53 -08:00
Phil Hagelberg
f67ff6d0bc
Check :pass-through-help on vector aliases too, not just final var.
2014-03-07 11:41:01 -08:00
Phil Hagelberg
ca46d0e987
Use more meaningful data in test-task-args-help-pass-through.
2014-03-07 11:39:39 -08:00
Phil Hagelberg
f509d4ec3d
Document :pass-through-help in plugin guide.
2014-03-07 10:23:19 -08:00
Phil Hagelberg
c01fd49c83
Add exclusions for cd-client.
2014-03-07 10:13:35 -08:00
Phil Hagelberg
64f79c6e7a
Clarify :warn-on-reflection deprecation warning.
2014-03-07 10:12:36 -08:00
Phil Hagelberg
3ff470363b
Dereference vector aliases in task-args.
2014-03-07 10:09:12 -08:00
Phil Hagelberg
e4e65177f6
Use a real lein task in pass-through-help tests, not funky var magic.
2014-03-07 09:55:13 -08:00
Phil Hagelberg
4a1373ab10
Don't require :pass-through-help to be a boolean.
2014-03-07 09:54:51 -08:00
Ryan McGowan
a02ff7b57b
Modify task-args to support pass-through-help meta.
...
By default, leiningen makes the following transformation:
lein TASK_NAME --help → lein help TASK_NAME
For tasks that implement a help, this is inconvenient. This patch
disables this transformation for task vars and alias values marked with
the meta: :pass-through-help true
2014-03-06 21:43:37 -08:00
Phil Hagelberg
1b39bc5b27
Make repl tests resilient to having .nrepl-port file in pwd.
2014-03-06 13:34:20 -08:00
Phil Hagelberg
0896686a5c
Merge remote-tracking branch 'laurentpetit/master'
...
Conflicts:
leiningen-core/src/leiningen/core/main.clj
2014-03-06 13:33:19 -08:00
Phil Hagelberg
606ceffe44
Fix tests for task arity mismatch abort messages.
2014-03-06 13:13:23 -08:00
Phil Hagelberg
1803f4d5fd
Fix test failures due to missing artifacts.
...
Somehow a dependency of nodisassemble disappeared from Maven Central.
2014-03-06 12:57:48 -08:00
Phil Hagelberg
54156c95a2
Merge pull request #1440 from benwbooth/master
...
Show uncaught exceptions when using grenchman, don't display "Suppressed exit" when calling exit
2014-03-04 17:30:55 -08:00
Phil Hagelberg
e3e82875cd
Merge pull request #1461 from cpmcdaniel/master
...
Fix for #1458 : clean-targets sanity checks.
2014-03-03 19:31:14 -08:00
Craig McDaniel
a5cf442cf3
Support for overriding :clean-targets sanity checking (issue #1458 ).
...
Also made unit tests safer and faster using with-redefs to mock out
calls to delete-file-recursively.
Better error messages when a path is being protected.
2014-03-03 21:35:03 -05:00