Skip to content

Commit

Permalink
manual: adjust windows build instructions (denoland#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 29, 2019
1 parent 1b48d67 commit cde81c6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions website/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cde81c6

Please sign in to comment.