Commit graph

3897 commits

Author SHA1 Message Date
Joshua Davey
2f25510edc Check if in a lein project before ns completion 2014-08-18 13:26:53 -05:00
Joshua Davey
8c990e535a Fix up namespace completion
* Complete even when test dir is missing
* Remove trailing parentheses
* Use only one invocation of awk
2014-08-18 11:20:52 -05:00
Joshua Davey
3ff6a1fe96 Update zsh tasks from latest leiningen release 2014-08-18 10:55:31 -05:00
Jean Niklas L'orange
b9dced16d5 Clarify what "last one" means for profile override
Re: #1646
[ci-skip]
2014-08-17 23:43:14 +02:00
Nelson Morris
fc6cb17002 Bump pedantic version
I've redone some of the internals of the pedantic library, so it should
be more efficent and has better documentation.

Fixes #1491
2014-08-16 18:01:40 -05:00
Phil Hagelberg
77e35035fb Merge pull request #1640 from phalphalak/separate-control-flow-from-version-parsing
Extract version parsing function out of parse-semantic-version.
2014-08-14 15:03:36 -07:00
Roman Flammer
9920681736 Extract version parsing function out of parse-semantic-version.
Enables parsing of the semantic version without triggering an abort
in case of a parse failure.

Fix typo.
2014-08-13 14:06:31 +02:00
Jean Niklas L'orange
651370487d Fix grammar and print exit code from http client. 2014-08-11 09:59:04 +02:00
Phil Hagelberg
26dd8c2074 That was terrible advice. 2014-08-09 22:17:31 -07:00
Phil Hagelberg
9750d8e4b2 Document using unquote in :dev profile for OS-specific config.
Addresses #1228.
2014-08-09 11:41:23 -07:00
Jean Niklas L'orange
d3304f6ea4 Don't read git files if they are unreadable.
Also print warnings if the file is not readable. Fixes #1585.
2014-08-09 01:42:09 +02:00
Jean Niklas L'orange
8498d8bc4b Preserve metadata during clj->sjacket conversions. 2014-08-08 21:12:08 +02:00
Jean Niklas L'orange
da57eb0440 Use pr-str for clj/sjacket roundtrip. Fixes #1632. 2014-08-08 21:03:28 +02:00
Phil Hagelberg
2a3fe249c0 Merge pull request #1628 from paxan/patch-1
How to opt out from "Main-Class: clojure.main"
2014-08-06 19:29:59 -07:00
Pavel Repin
0f59054497 How to opt out from "Main-Class: clojure.main" 2014-08-06 19:26:00 -07:00
Colin Jones
b9e51a02e0 Bump reply version for drawbridge->nrepl exclusion
refs #1625
2014-08-06 09:32:25 -05:00
Phil Hagelberg
6d79dcfedc Bump version number up to 2.4.4-SNAPSHOT. 2014-08-05 16:21:34 -07:00
Phil Hagelberg
983847276d Release 2.4.3 2014-08-05 16:03:18 -07:00
Phil Hagelberg
2028cd7951 Revert "Check that exactly one (existing) source file is found per namespace when compiling"
This reverts commit c2cc916dc6.
2014-08-05 16:02:02 -07:00
Phil Hagelberg
75279fed98 News for 2.4.3. 2014-08-05 15:58:57 -07:00
Phil Hagelberg
8b9d66cd7c Allow implicit hooks/middleware to be disabled.
Fixes #1621.
2014-08-05 15:35:00 -07:00
Colin Jones
828a5875d8 Bump REPLy for "standalone" (non-nREPL) bugfixes
This also gets us the official sjacket dependency and the Java / Clojure
versions printed in the startup help screen.

https://github.com/trptcolin/reply/compare/0.3.1...0.3.2
2014-08-05 00:40:36 -05:00
Phil Hagelberg
6bd1db2850 Only apply #1569 fix to :base profile. 2014-08-04 17:37:00 -07:00
Phil Hagelberg
7b722e8288 Merge pull request #1613 from pjlegato/print-compile-errors
Print compile error stacktraces as they occur
2014-08-04 13:58:45 -07:00
Phil Hagelberg
e95a167c1b Make base profile's deps defer to raw :dependencies in pom.
Fixes #1569.
2014-08-04 13:36:23 -07:00
Phil Hagelberg
0c9be93a3c Failing test for #1569. 2014-08-04 13:35:16 -07:00
Phil Hagelberg
8d6cda1dbf Merge pull request #1618 from mosabua/securecentral
Switching to https for the central repo
2014-08-01 16:44:55 -07:00
Manfred Moser
e0ad0db0d6 switching to https for the central repo 2014-08-01 16:12:51 -07:00
Phil Hagelberg
5e25111bf9 Merge pull request #1616 from hugoduncan/feature/add-no-user-profiles
Add LEIN_NO_USER_PROFILES to avoid user profiles
2014-08-01 09:17:55 -07:00
Hugo Duncan
eaffda3082 Add LEIN_NO_USER_PROFILES to avoid user profiles
When set, this environment var will prevent user level profiles from
loading.
2014-08-01 11:18:43 -04:00
Paul Legato
22b99cc9fd Print compile error stacktraces as they occur 2014-07-29 15:47:42 -07:00
Phil Hagelberg
798873d467 Merge pull request #1611 from techwhizbang/master
read-eval example provided in PROFILES.md
2014-07-24 13:25:04 -07:00
Nick Zalabak
60e4ef856c read-eval example provided in PROFILES.md 2014-07-24 12:24:30 -07:00
Jean Niklas L'orange
d6b90a0315 Merge pull request #1609 from rogerallen/issue1607
Fix for issue 1607
2014-07-22 09:16:15 +02:00
Roger Allen
80f1418110 Fix for issue 1607
Instead of always using a regex to try to match the native-names keys
when doing a get-os or get-arch call, use a get-with-pattern-fallback
function to first try the exact match and only if that fails, use
get-by-pattern.  This prevents matching "x86_64" with "x86" when
"x86_64" is the better match.
2014-07-21 22:52:33 -07:00
Phil Hagelberg
503495b6fc Don't depend on unsigned jakarta-regexp lib.
Refs #1608.
2014-07-21 12:00:16 -07:00
Phil Hagelberg
4ce8774d1a Fix deploy task to work with signature files. 2014-07-21 12:00:14 -07:00
Phil Hagelberg
e7eb5a7b3f Merge pull request #1603 from GlenKPeterson/patch-2
Clarified first-time install instructions
2014-07-20 13:15:31 -07:00
Glen K. Peterson
22acac6b1b Clarified first-time install instructions
Just tried to clarify a few things that confused me as a newbie.  When I actually clicked on the link to use the package manager, it says that sometimes the packaged versions can be old.  I thought that information was helpful, so I added it here.  Also, many projects are best installed by cloning the git repo.  I went down that path next and was left wondering why the 'master' branch wasn't working, so I clarified that you want to download the lein script from the *stable* branch.  Finally, the wording about the lein script bootstrapping itself and taking longer to run was all correct, but I didn't immediately connect the dots that "bootstrapping" meant that the only thing I had to do was to download the script from the right branch and run it.  So I changed "bootstrap" to "installs itself on the first run."
2014-07-19 18:52:50 -04:00
Samuel
b570a51273 use call to run wget and curl
When wget or curl are wrapped in a .bat or .cmd file as is done by chocolatey then you have to run with call. Using call to run regular executables works as well. This prevents the error "The system cannot find the batch label specified" from appearing.
2014-07-15 13:29:21 +02:00
Jean Niklas L'orange
2cfca444fe Merge pull request #1596 from hugoduncan/feature/update-clj-http-to-0.9.2
Update clj-http from 0.6.5 to 0.9.2
2014-07-11 21:02:00 +02:00
Hugo Duncan
7c57a2ec3c Update clj-http from 0.6.5 to 0.9.2
Update clj-http to a more recent version that contains fixes that are
useful in leiningen plugins.
2014-07-11 12:42:30 -04:00
Jean Niklas L'orange
fba7f8ccba Don't wrap :signing in a map in the docs.
Fixes #1594. [ci-skip]
2014-07-11 11:25:08 +02:00
Phil Hagelberg
aa0e0d0aaa Merge pull request #1595 from stuartfehr/master
Add warning when Main-Class doesn't exist in output jar
2014-07-09 19:13:07 -07:00
Stuart Fehr
7b8c6a47af Fixed the testing string for the test-write-jar function 2014-07-09 19:19:54 -06:00
Stuart Fehr
87ea64dedb Added a unit test for the Main-Class warning in write-jar 2014-07-09 19:16:02 -06:00
Stuart Fehr
ca21ed94f1 Added a warning message when the Main-Class does not exist within the jar file. 2014-07-09 17:34:44 -06:00
Phil Hagelberg
75673b2d15 Merge pull request #1591 from xsc/fix/vcs-tag
Let 'lein vcs tag' actually use the supplied Prefix
2014-07-09 09:15:02 -07:00
Yannick Scherer
9d990acb68 remove heardcoded dash from prefix. 2014-07-09 10:06:26 +02:00
Yannick Scherer
a7d6f0f432 fix 'lein vcs tag' to actually use prefix. 2014-07-09 10:03:12 +02:00