Skip to content

Commit

Permalink
doc: improved flow for macOS firewall script
Browse files Browse the repository at this point in the history
PR-URL: #18689
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Joseph Gordon authored and jasnell committed Apr 16, 2018
1 parent 7248171 commit 5008c5a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,20 @@ On macOS, you will need to install the `Xcode Command Line Tools` by running
installed, you can find them under the menu `Xcode -> Open Developer Tool ->
More Developer Tools...`. This step will install `clang`, `clang++`, and
`make`.
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh)
to avoid popups asking to accept incoming network connections when running
tests:

If the path to your build directory contains a space, the build will likely
fail.

After building, setting up [firewall rules](tools/macosx-firewall.sh) can avoid
popups asking to accept incoming network connections when running tests.

Running the following script on macOS will add the firewall rules for the
executable `node` in the `out` directory and the symbolic `node` link in the
project's root directory.

```console
$ sudo ./tools/macosx-firewall.sh
```
Running this script will add rules for the executable `node` in the `out`
directory and the symbolic `node` link in the project's root directory.

On FreeBSD and OpenBSD, you may also need:
* libexecinfo
Expand Down

0 comments on commit 5008c5a

Please sign in to comment.