Phil Hagelberg
c968fa5068
Upgrade Aether via new pomegranate; merge pedantic into leiningen-core.
2017-05-26 11:04:41 -07:00
Phil Hagelberg
781195f093
Add docstring for :why subcommand of deps.
2017-05-23 22:13:10 -07:00
Phil Hagelberg
7fc6c5bdfb
Add lein deps :why com.google.guava/guava
command.
2017-05-23 17:51:01 -07:00
Phil Hagelberg
1a502050c7
Move plugin conflict warnings to only activate when :pedantic? is set.
2017-05-23 10:09:53 -07:00
Phil Hagelberg
19277f739c
Document @-style connect args for repl credentials.
...
Fixes #1518
[skip ci]
2017-05-22 10:06:04 -07:00
Florian Anderiasch
71c1d4f828
Merge pull request #2276 from bfontaine/gpg-brew-url
...
GPG: Fix Homebrew’s homepage
2017-05-21 17:43:26 +02:00
Baptiste Fontaine
41db822921
GPG: Fix Homebrew’s homepage
2017-05-21 15:47:06 +02:00
Phil Hagelberg
8982e9c5dc
Getting false from .mkdirs doesn't mean the directory doesn't exist.
...
This is such a dumb API.
Also, my key expiring doesn't need to fail the suite any more.
2017-05-18 17:08:14 -07:00
Phil Hagelberg
04d500103b
Never use .mkdirs directly; it silently masks errors.
...
Use leiningen.core.utils/mkdirs so that problems will be found when
they happen.
2017-05-16 15:14:46 -07:00
Phil Hagelberg
163887d097
Merge pull request #2273 from iperdomo/master
...
[#2272 ] Catch exceptions on malformed profiles.clj files
2017-05-11 10:17:07 -07:00
Iván Perdomo
5e5aeebea9
[ #2272 ] Catch read-string exceptions and print a nicer error
...
* This is change in behavior, we catch the clojure.core/read-string
exception and we print it to stderr. The difference is that we
let the process continue (e.g. `lein repl` starts) and the previous
behavior was to die (due to the throwing the exception)
* We could mimic the previous behavior by exiting (System/exit 1) on
this exception.
2017-05-11 08:57:53 +02:00
Iván Perdomo
ae9ae4825d
[ #2272 ] Use clojure.edn/read-string to read profiles files
...
Using clojure.edn/read-string results in nil instead of an exception
user=> (edn/read-string "")
nil
user=> (read-string "")
RuntimeException EOF while reading clojure.lang.Util.runtimeException (Util.java:221)
2017-05-09 05:58:06 +02:00
Phil Hagelberg
e829c12d51
Fix sample project.clj issues.
...
Fixes #2271 and #2270 .
2017-05-08 11:35:32 -07:00
Phil Hagelberg
9874ce65e5
Gitorious isn't a thing any more.
2017-05-05 16:30:32 -07:00
Phil Hagelberg
0a30e374a9
Add circleci config.yml.
2017-05-05 16:03:16 -07:00
Phil Hagelberg
9b2792d249
Remove pedantic version warnings in leiningen-core.
...
[skip ci]
2017-05-05 15:47:45 -07:00
Phil Hagelberg
a441ba12ca
Clearer chmod in readme.
...
[skip ci]
2017-04-26 08:08:24 -07:00
Phil Hagelberg
53fae3ab3e
Update list of conflictable bootclasspath deps.
2017-04-26 07:58:22 -07:00
Phil Hagelberg
778a01e482
Merge pull request #2261 from technomancy/repl-outside-project
...
Make repls outside project run in Leiningen
2017-04-25 15:41:08 -07:00
Phil Hagelberg
1154059b3e
Remove unnecessary workarounds.
...
[skip ci]
2017-04-25 14:28:58 -07:00
Phil Hagelberg
14c7f1ecc5
Add back in commons-lang dependency.
2017-04-25 13:47:04 -07:00
Phil Hagelberg
f27dff2a07
Remove Cheshire dependency; use XML for search results.
2017-04-25 13:24:20 -07:00
Phil Hagelberg
ae07acbcce
Move clojure-complete out into repl-specific profile.
2017-04-25 13:23:59 -07:00
Phil Hagelberg
6ede563f07
Move reply to on-demand dependency.
2017-04-25 10:46:43 -07:00
Phil Hagelberg
9e556c2762
Remove clj-http dependency, and all transitive deps too.
2017-04-25 10:46:43 -07:00
Phil Hagelberg
1c4a435b60
Recommendations from shellcheck.
...
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
ce2f065344
Fix typo in sample project comments.
...
[skip ci]
Fixes #2265 .
2017-04-24 13:44:40 -07:00
Phil Hagelberg
b79b25d0f7
Merge pull request #2267 from liftoffio/javac-silent
...
Make javac respect LEIN_SILENT.
2017-04-18 16:40:18 -07:00
Caleb Spare
0452dd7900
Make javac respect LEIN_SILENT.
2017-04-18 16:23:57 -07:00
Phil Hagelberg
92160ebaf7
Embarrassing grammatical error in a docstring!
...
[skip ci]
2017-04-13 14:51:51 -07:00
Phil Hagelberg
9e45977a4a
Add :jar-inclusions to override built-in exclusion rules.
...
Otherwise there is no way to include a dotfile dir or one ending in ~.
2017-04-05 14:41:04 -07:00
Phil Hagelberg
4db173d8e9
Port some fixes from bin/lein to bin/lein-pkg.
2017-04-05 11:38:34 -07:00
Phil Hagelberg
151fbb256d
Support skipping bootclasspath.
2017-03-31 15:03:00 -07:00
Phil Hagelberg
f7da0539b3
Invite feedback for problems in the tutorial.
...
[skip ci]
2017-03-30 22:30:47 -07:00
Rovanion Luckey
8aff9d5e0a
Found a redundency in code and reduced it.
2017-03-30 14:41:26 +02:00
Phil Hagelberg
aaa3ef161b
Warn when trying to load plugins that can't be used.
...
This addresses the problems seen in #1900 and #1901 . It doesn't fix
them because they can't be fixed without breaking other things,
(https://github.com/technomancy/grenchman/issues/34 ) but at least it
lets people know what is going on and suggests a workaround.
2017-03-28 12:11:49 -07:00
Phil Hagelberg
c1aea4d256
Merge pull request #2258 from firesofmay/catch-no-route-exception
...
Catch NoRouteToHostException exception
2017-03-23 14:46:32 -07:00
Phil Hagelberg
80e649329a
Fix test which dumps files in project root.
2017-03-23 14:43:45 -07:00
Phil Hagelberg
627d4448d4
Merge remote-tracking branch 'weavejester/smarter-target-profiles'
...
Conflicts:
leiningen-core/src/leiningen/core/project.clj
2017-03-23 14:35:02 -07:00
Phil Hagelberg
3ac76a3ccd
Don't invoke release plugin fallback unless external plugin is present.
...
The existing fallback logic assumes that the presence of two release
tasks on the classpath can only be due to one of them coming from a
plugin, but this is not true; you can have an uberjar of Leiningen
building Leiningen itself.
Fixes #2198
2017-03-23 14:13:01 -07:00
Phil Hagelberg
170e0cb20b
Explain absence of nrepl during trampoline as per #2224 .
2017-03-23 13:42:37 -07:00
Phil Hagelberg
3bb4ce690b
Allow in-leiningen repls when running outside a project.
...
As per the discussion here:
https://github.com/technomancy/leiningen/commit/6234419b#commitcomment-21422061
This means that you have to explicitly set :eval-in :subprocess if you
want to override Leiningen's own dependencies when running outside a
project dir.
2017-03-23 13:42:07 -07:00
Phil Hagelberg
77ad686ff8
Merge pull request #2256 from kenrestivo-stem/feature/tree-deps-2
...
Provide tree deps in EDN format for display/parsing by other tools
2017-03-23 11:55:13 -07:00
Phil Hagelberg
6f06d2be97
Merge pull request #2257 from timofeytt/patch-1
...
give reference to how to get a SNAPSHOT version
2017-03-21 20:16:56 -07:00
Ken Restivo
acf7c0a1e9
Add plugin-tree
2017-03-17 09:52:48 -07:00
Tim
64d9270ee3
Update TUTORIAL.md
2017-03-13 23:39:39 +01:00
Tim
b32d6bff3e
Update TUTORIAL.md
2017-03-13 23:37:59 +01:00
James Reeves
1fe6dce707
Change profiles string to recursively normalize
...
Composite profiles that are made of other composite profiles should be
recursively normalized when creating the target path string.
2017-03-13 22:31:06 +00:00
Mayank Jain
1d996b378f
Catch NoRouteToHostException exception
...
In case network is down while fetching dependencies and we get
NoRouteToHostException exception, fallback to `:offline? true`
behaviour.
Fixes #2054 issue.
2017-03-13 10:54:19 +05:30
Tim
999e4c1166
give reference to how to get a SNAPSHOT version
2017-03-11 19:11:57 +01:00