Skip to content

Commit

Permalink
Merge 021bfe9 into eca95b6
Browse files Browse the repository at this point in the history
  • Loading branch information
elle-j committed Oct 25, 2023
2 parents eca95b6 + 021bfe9 commit 14b8a42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion contrib/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,13 @@ export PATH=<ccache location>/libexec:$PATH

## Cloning the repository

To clone the RealmJS repository and install git submodules:
To clone the RealmJS repository and install git submodules and dependencies.

```sh
git clone https://github.com/realm/realm-js.git
cd realm-js
git submodule update --init --recursive
npm install
```

In order to improve the accuracy of `git blame` locally by ignoring commits in which the code was reformatted by an automated tool, run: `git config blame.ignoreRevsFile .gitignore-revs` from inside the repository.
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"lint": "wireit",
"lint:fix": "wireit",
"lint:cpp": "find src packages/realm/bindgen/src -name '*.cpp' -or -name '*.h' -or -name '*.hpp' | xargs clang-format --dry-run --Werror",
"lint:cpp:fix": "find src packages/realm/bindgen/src -name '*.cpp' -or -name '*.h' -or -name '*.hpp' | xargs clang-format -i",
"postinstall": "git submodule update --init --recursive"
"lint:cpp:fix": "find src packages/realm/bindgen/src -name '*.cpp' -or -name '*.h' -or -name '*.hpp' | xargs clang-format -i"
},
"wireit": {
"build": {
Expand Down

0 comments on commit 14b8a42

Please sign in to comment.