Commit graph

3413 commits

Author SHA1 Message Date
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
Craig McDaniel
d4bedc9dd1 Making new methods private for issue #1458 2014-03-02 22:01:02 -05:00
Craig McDaniel
8cc891747f Merge remote-tracking branch 'upstream/master' 2014-03-01 14:01:36 -05:00
Craig McDaniel
9c84a5e2e0 Removed (run-tests) call that was being used for interactive REPL testing 2014-03-01 12:37:16 -05:00
Craig McDaniel
b19b80390c Fix for #1458: clean-targets sanity checks. 2014-03-01 12:35:32 -05:00
Craig McDaniel
ba6e88200b Partial implementation of fix for :clean-targets sanity checking (issue #1458) 2014-02-28 08:26:36 -05:00
Jean Niklas L'orange
de287f08fe Merge pull request #1454 from mpblair/profiles-help
Document :uberjar/:repl merging. Fixes #1422.
2014-02-28 13:21:18 +01:00
Matthew Blair
c7861c6c7e Update docstrings for repl and uberjar tasks based on feedback from hyPiRion 2014-02-27 21:33:46 -05:00
Craig McDaniel
c87cb003a2 Initial happy-path unit tests for the clean task. Relates to #1458 2014-02-25 22:13:13 -05:00
Jean Niklas L'orange
a28eeca1df Warn once when project.clj in checkout is missing. 2014-02-25 21:47:25 +01:00
Jean Niklas L'orange
491c2c9595 Merge branch 'retain-profile-metadata' 2014-02-24 18:32:08 +01:00
Jean Niklas L'orange
17e91e60fe Retain metadata after profile setup. Fixes #1414. 2014-02-24 18:31:43 +01:00
Jean Niklas L'orange
a0d3504b1e Test that :java-opts are converted to :jvm-opts.
Inside profiles. Ensures #1445 is fixed, thus closes #1445.
2014-02-23 15:06:51 +01:00
Jean Niklas L'orange
1d7e41bfbf Test that profile metadata is retained.
Breaks tests, as meta isn't retained yet.
2014-02-23 14:55:28 +01:00
Jean Niklas L'orange
a5d2ea5161 Allow non-string args to compile task. Fixes #1442 2014-02-22 15:24:40 +01:00
Jean Niklas L'orange
eac6cdf04f Merge pull request #1456, fixes #1455. 2014-02-22 13:58:20 +01:00
Jean Niklas L'orange
2cf555e99e Backquote uberjar-merge-with vector. 2014-02-22 13:56:52 +01:00
Peter Monks
d8302eff0b Fix for issue 1455 2014-02-20 11:21:17 -08:00
Matthew Blair
f9eddd5bed Fix Issue 1422 - add help text to repl and uberjar tasks documenting implicit profile application 2014-02-17 09:48:52 -05:00