Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tentative support for OCaml 5.3 #203

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,6 @@ jobs:
# syntax explanation:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
include:
- os: macos-13
ocaml-compiler: 4.14.x
build: opam exec -- npm run build406
test: npm test
artifact-folder: darwin
- os: macos-14
ocaml-compiler: 4.14.x
build: opam exec -- npm run build406
test: npm test
artifact-folder: darwinarm64
- os: ubuntu-latest
ocaml-compiler: 4.14.x
build: opam exec -- npm run build406
test: npm test
artifact-folder: linux
- os: windows-latest
ocaml-compiler: 4.14.x
build: opam exec -- npm run build406
artifact-folder: win32
- os: ubuntu-latest
target: ocaml.4.08
ocaml-compiler: 4.08.x
Expand Down
17 changes: 0 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@ npm install
npm run build
```

To build targeting 4.06 compiler libs (needed for ReScript projects) whatever the compiler version used:

```
npm run build406
```


## Test reanalyze

Make sure to always run the tests before submitting any changes (CI usually takes
longer to give you feedback).

```
npm run build406
npm test
```

## Releases (for Maintainers)

The project is compatible with the [`npm
Expand Down
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,6 @@ npm add --save-dev reanalyze

## Build From Sources


### Build for ReScript

```sh
opam install dune
npm run build406
# _build/default/src/Reanalyze.exe
```

### Build for OCaml native projects using dune

```sh
Expand All @@ -210,5 +201,5 @@ Make sure that `dune` builds both `.cmt` and `.cmti` files by enabling bytecode
This project is itself written in OCaml and can be analyzed as follows.
```sh
dune build
./_build/default/src/Reanalyze.exe -suppress src/compiler-libs-406 -dce-cmt _build
./_build/default/src/Reanalyze.exe -dce-cmt _build
```
65 changes: 0 additions & 65 deletions dead-code-ppx/DeadCodePPX.ml

This file was deleted.

9 changes: 0 additions & 9 deletions dead-code-ppx/dune

This file was deleted.

Loading
Loading