[CI-SKIP] Add `curl` requirement for building paper. (#4768)

* Add curl to contributing.md

* change semicolons and periods

Co-authored-by: Mariell <proximyst@proximyst.com>
This commit is contained in:
Ben Kerllenevich 2020-11-15 17:42:05 -05:00 committed by GitHub
parent 2f0e0a6da0
commit 858a6e3320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,8 @@ you will most likely use this for WSL), `homebrew` (macOS / Linux), and more:
- A Java 8 or later JDK (packages vary, use Google/DuckDuckGo/etc.). - A Java 8 or later JDK (packages vary, use Google/DuckDuckGo/etc.).
If you need one, you can find them on [AdoptOpenJDK](https://adoptopenjdk.net/). If you need one, you can find them on [AdoptOpenJDK](https://adoptopenjdk.net/).
- `maven` (often package `maven`; can be found on - `maven` (often package `maven`; can be found on
[Apache's site](https://maven.apache.org/download.cgi) too). [Apache's site](https://maven.apache.org/download.cgi) too);
- `curl` (package `curl` everywhere).
If you're on Windows, check If you're on Windows, check
[the section on WSL](#patching-and-building-is-really-slow-what-can-i-do). [the section on WSL](#patching-and-building-is-really-slow-what-can-i-do).

View File

@ -12,6 +12,7 @@ if [ -z "${1:-}" ]; then
_is_dep_available git _is_dep_available git
_is_dep_available patch _is_dep_available patch
_is_dep_available mvn _is_dep_available mvn
_is_dep_available curl
# Ensure we don't have a JAVA_HOME set first. # Ensure we don't have a JAVA_HOME set first.
# Maven should work fine without the JAVA_HOME var as long as the JDK is on the PATH. # Maven should work fine without the JAVA_HOME var as long as the JDK is on the PATH.