Skip to content

Commit 6654216

Browse files
committed
readd D installation to netlify.sh
1 parent b2c9b9c commit 6654216

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

netlify.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
set -euo pipefail
55
set -x
66

7+
DMD_VERSION="2.105.0"
78
BUILD_DIR="out"
89

10+
CURL_FLAGS=(-fsSL --retry 10 --retry-delay 30 --retry-max-time 600 --connect-timeout 5 --speed-time 30 --speed-limit 1024)
11+
12+
. "$(curl "${CURL_FLAGS[@]}" https://dlang.org/install.sh | bash -s install "dmd-${DMD_VERSION}" --activate)"
13+
914
./dub/scripts/man/gen_man.d
1015
rm -rf docs/cli-reference/
1116
mkdir docs/cli-reference/

0 commit comments

Comments
 (0)