Commit graph

3384 commits

Author SHA1 Message Date
Phil Hagelberg
e78ebb6504 Add exclusion suggestions for version ranges. 2013-11-16 14:43:59 -08:00
Phil Hagelberg
a45e8a5b0f Move parse-options test, fix typo. 2013-11-16 14:43:59 -08:00
Phil Hagelberg
1f7886c8bb Move parse-options into leiningen.core.main for general use.
Also remove support for single-dashed args.
2013-11-16 14:43:59 -08:00
Travis Vachon
c0a161c11b Add a flag to allow SNAPSHOT template versions
I'm not really sure how to test this without really going to Clojars. I
have a few templates that could be used to do this testing but feel
weird about adding network calls to the tests.
2013-11-16 14:43:59 -08:00
Travis Vachon
d816ef0d93 Better error messaging when we try to load a broken template 2013-11-16 14:43:59 -08:00
Travis Vachon
1926f12e48 Refactor lein new argument parsing
It was a bit janky and hard to extend. This is maybe still janky, but
very extensible. Win?

We can now easily add new options to this command. I took some pains to
maintain backwards compatibility, even with the undocumented ability to
pass arguments on to templates. The full extent of this syntax isn't
documented in the docstring yet, but I'll expand that once we support
options that expose its darker corners.
2013-11-16 14:43:59 -08:00
Michael Klishin
06c2fb63e2 Merge pull request #1372 from sebasoga/minor_doc_fix
Minor TUTORIAL fix
2013-11-15 15:02:47 -08:00
Sebastian Sogamoso
928fd88542 Minor TUTORIAL fix 2013-11-15 17:58:40 -05:00
Phil Hagelberg
088a05f66f Reformat FAQ.md's markdown to be a little more shell-friendly. 2013-11-14 12:06:51 -08:00
Jean Niklas L'orange
c6d937b377 Clarify order-dependent conflict resolutions.
Closes #1337. [ci skip]
2013-11-14 12:06:51 -08:00
Phil Hagelberg
23b3477298 Escape classpath separators.
Fixes #1328.
2013-11-14 11:02:06 -08:00
Phil Hagelberg
9718597bd4 Update sample.project.clj and NEWS.md. 2013-11-14 11:02:06 -08:00
Colin Jones
529f7fd120 Bump reply version
refs #1288
2013-11-11 15:40:20 -05:00
Phil Hagelberg
7921246b3a Fix typo. 2013-11-11 08:13:32 -08:00
Phil Hagelberg
387db01ac5 Don't print with-profile output when only one profile is invoked. 2013-11-10 08:48:25 -08:00
Jean Niklas L'orange
989e12ebde Retain whitelisted keys for the eval/prep phase.
fb532b0 reverted this issue back on, because the whitelisted keys were
ignored for the prep phase.

Fixes #770.
2013-10-31 02:00:40 +01:00
Michael Klishin
24b18f8a08 Merge pull request #1362 from pashields/patch-1
Update dependency name in profile example
2013-10-30 11:43:16 -07:00
Patrick Shields
81562aefc4 Update dependency name in profile example
It looks like in cab18f6bfe the dependency changed from midje to expectations, but the explanation text still referred to midje.
2013-10-30 14:38:05 -04:00
Jean Niklas L'orange
67aa192c6f Merge in uberjar profile before implicit aot check
Fixes #1358.
2013-10-30 15:55:57 +01:00
Phil Hagelberg
cd22728f21 Clarify java compiler not found message. Fixes #1322. 2013-10-29 17:22:13 -07:00
Phil Hagelberg
df43dc7279 Merge pull request #1361 from technomancy/nested-chains
Support nested `do` chains, remove implicit help.
2013-10-29 17:07:14 -07:00
Jean Niklas L'orange
ae2e789b04 Support nested do chains, remove implicit help.
Also provide an example in the sample project. Closes #1359.
2013-10-30 00:40:44 +01:00
Jean Niklas L'orange
e9d366c38b Merge pull request #1351 from coventry/more-explicit-instructions-on-installing-dependencies
Mention `lein deps` in the tutorial.
2013-10-18 01:18:48 -07:00
Alex Coventry
3e1d5fbe51 Mention lein deps in the tutorial.
Describe how to use lein to actually install and use a dependency.
2013-10-17 23:58:48 -04:00
Toby Crawley
3e865aedf2 Account for repl urls with paths [fixes #1344, again] 2013-10-17 00:06:40 -04:00
Phil Hagelberg
c4446fc531 Merge pull request #1341 from llasram/meta-merge-defaults
More nuanced merging of project defaults.
2013-10-14 17:25:04 -07:00
Phil Hagelberg
9887b485db Merge pull request #1342 from dominikdz/master
changed syntax of :pom-plugins definition for pom task
2013-10-14 17:01:11 -07:00
Marshall Bockrath-Vandegrift
5d64d83fd6 More nuanced merging of project defaults. 2013-10-14 19:59:18 -04:00
Phil Hagelberg
d3c6231c48 Merge pull request #1345 from tobias/repl-port-abort-fix
Fix 'repl :connect <port>' when used outside of a project [fixes #1344]
2013-10-10 09:32:04 -07:00
Toby Crawley
9f41ea9154 Fix 'repl :connect <port>' when used outside of a project [fixes #1344]
connect-string now verifies that the string ends with a port after the
string is fully formed, aborting if no port is found. This also
includes improvements to the repl help text, and more test coverage
for connect-string.
2013-10-10 11:50:44 -04:00
Dominik Dziedzic
29822c490c task pom / :pom-plugins - bug fixed: extra <configuration> tag 2013-10-09 19:15:53 +02:00
Phil Hagelberg
85d3549c14 Bump version up to 2.3.4-SNAPSHOT. 2013-10-09 09:06:18 -07:00
Dominik Dziedzic
355ee8aefc task pom / :pom-plugins
added backward compatibility with version 2.3.3
2013-10-08 23:31:42 +02:00
Dominik Dziedzic
08fbda67fe changed syntax of :pom-plugins definition for pom task
1. support of [:configuration ... ] was removed
2. it was replaced with map which contains arbitrary XML definitions,
syntax is the same as in pom-additions

3. also added use case in pom-plugins
2013-10-08 04:12:05 +02:00
Phil Hagelberg
6a6cecee0f Release 2.3.3 2013-10-05 15:40:59 -07:00
Phil Hagelberg
d9496b0c9f Update news 2013-10-05 15:37:30 -07:00
Phil Hagelberg
7b3ff4e570 Add a test for gpg keys and ssl cert expiry. 2013-10-05 15:29:16 -07:00
Phil Hagelberg
2859d66a63 Merge pull request #1339 from llasram/uberjar-merge-with
Implement `:uberjar-merge-with` requested in issue #973.
2013-10-05 15:29:45 -07:00
Michael Klishin
9045e115bf Merge pull request #1340 from llasram/sample-whitespace
Fix unusual/extra whitespace in sample.project.clj.
2013-10-05 14:23:15 -07:00
Marshall Bockrath-Vandegrift
1ab4cbc366 Fix unusual/extra whitespace in sample.project.clj. 2013-10-05 17:11:57 -04:00
Marshall Bockrath-Vandegrift
39e3d57ec9 Implement :uberjar-merge-with requested in issue #973. 2013-10-05 13:56:57 -04:00
Phil Hagelberg
4d3c46d1fa Merge pull request #1310 from jakubholynet/patch-1
Described *1-*3,*e in repl-welcome
2013-10-04 07:43:58 -07:00
Phil Hagelberg
4d211a2a90 Merge pull request #1324 from dominikdz/master
Added support of maven <plugin> in pom.xml (pom-plugin tag)
2013-10-03 19:14:14 -07:00
Jean Niklas L'orange
a4a027cf5a Merge pull request #1338 from jcrossley3/port-required
Abort with a nicer message when neither port nor .nrepl-port is provided
2013-10-02 08:40:10 -07:00
Jim Crossley
360fab0fe7 Abort with a nicer message when neither port nor .nrepl-port is provided 2013-10-02 11:05:16 -04:00
Phil Hagelberg
9e04655af9 Merge pull request #1336 from jcrossley3/connect-via-nrepl-port-file
Fallback to .nrepl-port for 'repl :connect' subtask
2013-10-01 14:07:22 -07:00
Jim Crossley
bd008f800e Fallback to .nrepl-port for 'repl :connect' subtask 2013-10-01 15:18:25 -04:00
Jean Niklas L'orange
ab7f332797 Merge in better error messages for -m in lein run. 2013-09-29 20:07:49 +02:00
Jean Niklas L'orange
f39b4b7c38 More descriptive error message for nonexistant ns.
Closes #1257.
2013-09-29 20:02:17 +02:00
Jean Niklas L'orange
10adf535d3 Better error message for bad -m args. 2013-09-29 18:57:52 +02:00