diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-06-29 14:30:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-29 14:30:21 -0400 |
commit | cde81c6a53bcb7e5e12a1f8d6003826544eff38e (patch) | |
tree | dbbbb99018f2e1f212478c366505b1977d1c0d73 | |
parent | 1b48d67fbba55d64372052879d26bf8e2143d9c7 (diff) |
manual: adjust windows build instructions (#2601)
-rw-r--r-- | website/manual.md | 14 |
1 files changed, 10 insertions, 4 deletions
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 |