Skip to content

Commit

Permalink
Update local repo install instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Dec 21, 2024
1 parent 88b5a5a commit 109f525
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,7 @@ When you run `make test` (from the `tests/analysis_tests` folder), `dune exec --

To use a local version of `rescript-editor-analysis`, the targeted project needs to be compiled with the local compiler.

Update your `package.json`:

```json
{
"dependencies": {
"rescript": "../rescript"
}
}
```

Install your local ReScript with `npm i /path/to/your-local-rescript-repo`.
Reinstall the dependencies and run `npx rescript` in your project. This ensures the project is compiled with the same compiler version that the `rescript-editor-analysis` will process.

## Debugging
Expand Down

0 comments on commit 109f525

Please sign in to comment.