Skip to content

Commit

Permalink
cleanup: remove 406 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoc committed Dec 31, 2024
1 parent 7f7dfd7 commit 2e0caa0
Show file tree
Hide file tree
Showing 95 changed files with 246 additions and 32,666 deletions.
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

0 comments on commit 2e0caa0

Please sign in to comment.