From cde81c6a53bcb7e5e12a1f8d6003826544eff38e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 29 Jun 2019 14:30:21 -0400 Subject: manual: adjust windows build instructions (#2601) --- website/manual.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'website') diff --git a/website/manual.md b/website/manual.md index 1ae44c763..4e8f9fe16 100644 --- a/website/manual.md +++ b/website/manual.md @@ -129,19 +129,25 @@ deno run https://deno.land/welcome.ts ### Build from source -Clone on Unix/MacOs +Clone on Linux or Mac: ```bash -# Fetch deps. git clone --recurse-submodules https://github.com/denoland/deno.git ``` -Clone on Windows (with Admin privileges) +On Windows, a couple extra steps are required to clone because we use symlinks +in the repository. First +[enable "Developer Mode"](https://www.google.com/search?q=windows+enable+developer+mode) +(otherwise symlinks would require administrator privileges). Then you must set +`core.symlinks=true` before the checkout is started. ```bash -git clone -c core.symlinks=true --recurse-submodules https://github.com/denoland/deno.git +git config --global core.symlinks=true +git clone --recurse-submodules https://github.com/denoland/deno.git ``` +Now we can start the build: + ```bash cd deno ./tools/setup.py -- cgit v1.2.3