Skip to content

Commit

Permalink
add config tips for windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kamushkin committed Sep 22, 2023
1 parent 2388771 commit 0c993a0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Tips for windows users

Read below if you are building SonarJS on Windows.

## Windows configuration

You should give yourself permissions to create symbolic links (required by PathWalkerTest.java) or run the build script with Admin rights

- run `gpedit.msc` (Edit Group Policy)
- Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment → Create symbolic links
- Add yourself (or Users group)
- restart the machine

## Git configuration

- `git config --system core.autocrlf input`
- `git config --system core.longpaths true`

0 comments on commit 0c993a0

Please sign in to comment.