Skip to content

Commit 2132c85

Browse files
committed
Added PATH and safe directory to README
1 parent f899f41 commit 2132c85

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ Small script for checking [WebKit Code Style Guidelines](https://webkit.org/code
1111
* Install the tool e.g. in a docker container by running `./install`
1212
* Install the [cpplint](https://marketplace.visualstudio.com/items?itemName=mine.cpplint) VS Code plugin (can also be added to e.g. `devcontainer.json` for automatic installation)
1313
* Configure any options to WebKit's `check-webkit-style` with the `CPPLINT_WEBKIT_ARGS` environment variable
14+
* Make sure that `/usr/local/bin` is in your evironment `PATH` variable
15+
* Run `git config --global --add safe.directory '*'` to make sure the `/usr/share/WebKit` is set to be safe

install

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22

33
sudo cp -r WebKit /usr/share
4-
sudo cp check-webkit-style /usr/bin
4+
sudo cp check-webkit-style /usr/local/bin
55
sudo cp cpplint /usr/local/bin
66
sudo git init /usr/share/WebKit
7-
sudo git config --global --add safe.directory /usr/share/WebKit

0 commit comments

Comments
 (0)