From b89194b9891060a7711a148c059f06fd5a51c25d Mon Sep 17 00:00:00 2001 From: Ben Kerllenevich Date: Sun, 15 Nov 2020 17:42:05 -0500 Subject: [PATCH] [CI-SKIP] Add `curl` requirement for building paper. (#4768) * Add curl to contributing.md * change semicolons and periods Co-authored-by: Mariell --- CONTRIBUTING.md | 3 ++- scripts/requireDeps.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc264fe17e..ad3a075e58 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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.). If you need one, you can find them on [AdoptOpenJDK](https://adoptopenjdk.net/). - `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 [the section on WSL](#patching-and-building-is-really-slow-what-can-i-do). diff --git a/scripts/requireDeps.sh b/scripts/requireDeps.sh index 911460e872..b64412f35f 100755 --- a/scripts/requireDeps.sh +++ b/scripts/requireDeps.sh @@ -12,6 +12,7 @@ if [ -z "${1:-}" ]; then _is_dep_available git _is_dep_available patch _is_dep_available mvn + _is_dep_available curl # 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.