Commit graph

317 commits

Author SHA1 Message Date
Phil Hagelberg
02c24865ee Deploy typo and doc update. 2017-12-15 09:14:16 -08:00
David Jarvis
80eba3e5ff
[docs] Update TEMPLATES.md to refer to resources dir rather than src dir
The current documentation claims template files live in src, rather than
resources - a fact trivially disprovable by either (a) referring to
Leiningen's default templates in resources/leiningen/new or (b) actually
trying to make a new template yourself.

This commit updates the documentation to refer to the correct directory.
2017-12-08 18:08:35 +00:00
Sumit
db531846bf Update FAQ.md (#2356)
Fixed typos in doc.
2017-11-09 10:03:18 +01:00
Steve Ashton
22d14fb6f8 Add description for changing maven read timeout 2017-11-06 12:03:01 -07:00
Phil Hagelberg
685ba33439 Remove cgroups faq. 2017-10-27 12:08:08 -07:00
Baptiste Fontaine
763372f459 FAQ: fix typo in code sample 2017-10-19 16:42:40 +02:00
Wes Morgan
63602f2247 Replace 2.7.2 with 2.8.0 in FAQ on string deps
2.7.2 was never released.
2017-10-18 09:11:48 -06:00
Phil Hagelberg
f50add4f90 Add LEIN_USE_BOOTCLASSPATH.
Telling people to use LEIN_JVM_OPTS for this is not great, because a
given setting would only work with a single version of Leiningen.

[skip ci]
2017-10-17 10:14:23 -07:00
Phil Hagelberg
b30832ab47 Add explanation to plugin guide of how to not create a plugin.
[skip ci]
2017-10-12 12:10:12 -07:00
Phil Hagelberg
eaca364caa Mention cgroups jvm options in FAQ.
This should be helpful for people who run into trouble from using too
old of a JVM, to encourage them to upgrade.
2017-09-15 15:11:54 -07:00
Phil Hagelberg
45f4365000 Remove docs for making plugins work with lein 1.x.
[skip ci]
2017-09-14 12:09:38 -07:00
Phil Hagelberg
7a56c0a2aa Deprecate project middleware, hooks, and the :test profile.
[skip ci]
2017-09-14 12:09:18 -07:00
Toby Crawley
6606a910ab
Allow overriding commit message
This gives the user control over the commit message when overriding the
default :release-tasks.

See #2308
2017-09-11 19:02:44 -04:00
Phil Hagelberg
98250defe3 Update some documentation. 2017-08-18 15:16:19 -07:00
Elana Hashman
10aaf97056 Also add CLI options 2017-08-10 18:35:25 -04:00
Elana Hashman
a8df87b933 Freshen up formatting and add some missing tasks 2017-08-10 18:07:09 -04:00
Elana Hashman
8ef2d659e7 Update copyright year 2017-08-10 18:04:32 -04:00
Elana Hashman
acd343d2a0 Add missing closing square bracket 2017-08-10 18:04:26 -04:00
Jean Niklas L'orange
b0eeff40fb Document how to read project.clj at runtime 2017-07-29 13:15:05 +02:00
Dave Liepmann
0ebf7baabf Fix missing word in example
Fix typo (omitted word) per https://github.com/technomancy/leiningen/pull/2290#discussion_r128134589
2017-07-19 10:46:18 +02:00
Dave Liepmann
65e76ed270 Add base profile note to lein checkouts
Added a note to the **Checkout Dependencies** section reminding users not to override the `base` profile while using checkouts.
2017-07-18 19:04:18 +02:00
Phil Hagelberg
809c7d33ea Document what causes insecure HTTP repository errors.
Fixes #2277.
2017-05-29 15:55:49 -07:00
Baptiste Fontaine
41db822921 GPG: Fix Homebrew’s homepage 2017-05-21 15:47:06 +02:00
Phil Hagelberg
f7da0539b3 Invite feedback for problems in the tutorial.
[skip ci]
2017-03-30 22:30:47 -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
Tim
999e4c1166 give reference to how to get a SNAPSHOT version 2017-03-11 19:11:57 +01:00
Wes Morgan
f1af24d2d7
Add FAQ entry for string dependency names 2017-02-01 21:27:32 -07:00
Gary Fredericks
d419041476 Remove lein-newnew references from templates docs 2017-01-25 16:27:58 -06:00
Chris Price
65c82d870f Merge pull request #2233 from technomancy/amalloy-patch-1
Consist => Consistent
2017-01-22 13:19:48 -08:00
Chris Price
2a7deebcb8 s/consistend/consistent 2017-01-22 13:19:25 -08:00
Phil Hagelberg
720df83e45 Update docs re: search changes. 2017-01-18 10:56:24 -08:00
Alan Malloy
7a2ee55913 Consist => Consistent 2017-01-11 11:06:57 -08:00
Phil Hagelberg
4874c7bf0f Add a lot of `s'es. 2017-01-09 13:47:30 -08:00
Jean Niklas L'orange
1d2c28b2a7 Doc: :env/varname is only allowed in :repositories
Closes #2117
2016-09-20 23:31:21 +02:00
Chris Price
5bd091a2bf Don't require nil for version in managed deps - fixes #2195
Prior to this commit, if you wanted to use modifiers such as
`:exclusions` or `:classifier` for a dependency whose version you
were managing with `:managed-dependencies`, you would need to
explicitly pass a `nil` as the version string in the dependency
tuple.  This commit adds some logic to coerce the vectors before
they are processed, so that if the version string is simply
omitted instead of being set to `nil`, the `nil` will be implicitly
inserted and things will continue to work as before.

This provides a slightly nicer and more intuitive UX for the
managed-dependencies feature.
2016-09-18 09:21:04 -07:00
Daniel Compton
242fd7fa4c Use GPG2 on macOS
Fixes #2200
2016-09-09 08:25:56 +12:00
Chris Price
9231c62b1d Add clarification re: :exclusions in managed dependencies docs 2016-09-01 10:48:11 -07:00
Chris Price
bfe97d63c6 Fix typo in example usage of lein-parent 2016-08-30 14:13:32 -07:00
Chris Price
7354e25e23 Modify TEMPLATES.md to make it more clear how to test your template 2016-08-22 14:48:17 -07:00
Jay Martin
4d747bb48d fix typo
Correct name of jar file executed by java command in example.
2016-08-03 16:06:34 -04:00
Florian Anderiasch
523d5eb6f0 Update the FAQ 2016-07-12 23:13:05 +02:00
Chris Price
7ea847d16f Clarify docs, add tests for transitive deps
This commit clarifies some things in the docs based on PR review.
It also adds additional test coverage for managed dependencies;
specifically, a case where two normal dependencies both have
a transitive dependency on the same library, but with different
versions.  The test validates that this conflict is properly
resolved via `:managed-dependencies`.
2016-06-30 10:29:18 -07:00
Chris Price
2fb603b2bf Add managed-dependencies example and docs
This commit adds an example of `:managed-dependencies` to the
sample project, and adds a separate markdown file to provide
more details and examples.
2016-06-27 11:41:59 -07:00
Jean Niklas L'orange
0362964ac0 Fix naming in tutorial, fixes #2130
[ci skip]
2016-06-19 11:05:17 +02:00
Dan Harbin
5d2bb2b563 Fix plugin profiles documentation
The documentation said to "Create a file called `src/myplugin/profiles.clj`".  This didn't work for me.  I had to create a file `resources/myplugin/profiles.clj` instead.
2016-04-13 17:01:51 -05:00
Tim Visher
9c3bf51d95 Fix file handle leak in pom.properties FAQ
There was a file handle leak in the code as it was. It would never close the open reader against the jar resource. This will eventually cause JVM to be unable to open new files.

Functional Tests
----------------------

I'm using the code as I wrote it in my own project and there is now no file handle leak.
2016-02-16 10:20:41 -05:00
Daniel Compton
f6963bef65 Add troubleshooting steps for gpg: decryption failed
Running these steps helped me realise I had encrypted my
~/.lein/credentials.clj.gpg file with the wrong key.
2016-02-03 23:33:50 +13:00
Toby Crawley
68e4d0f3bf Remove clojars section from GPG instructions
The clojars section is out of date - clojars no longer has promotion to a releases repo, so no longer needs to store the user's public key. See https://github.com/clojars/clojars-web/issues/415.
2016-01-23 00:41:22 -05:00
Daniel Compton
1fad7043b6 Add docs for providing :jvm-opts 2016-01-22 09:05:35 +13:00