Skip to content

Commit

Permalink
Added PATH and safe directory to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppefrandsen committed May 30, 2024
1 parent f899f41 commit 2132c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ Small script for checking [WebKit Code Style Guidelines](https://webkit.org/code
* Install the tool e.g. in a docker container by running `./install`
* 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)
* Configure any options to WebKit's `check-webkit-style` with the `CPPLINT_WEBKIT_ARGS` environment variable
* Make sure that `/usr/local/bin` is in your evironment `PATH` variable
* Run `git config --global --add safe.directory '*'` to make sure the `/usr/share/WebKit` is set to be safe
3 changes: 1 addition & 2 deletions install
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh

sudo cp -r WebKit /usr/share
sudo cp check-webkit-style /usr/bin
sudo cp check-webkit-style /usr/local/bin
sudo cp cpplint /usr/local/bin
sudo git init /usr/share/WebKit
sudo git config --global --add safe.directory /usr/share/WebKit

0 comments on commit 2132c85

Please sign in to comment.