Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Remove stale files #140

Merged
merged 1 commit into from
Apr 21, 2021
Merged
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.DS_Store
.merlin
!/.merlin
npm-debug.log
*.install
_build
examples/*/lib
test/lib
node_modules
Expand Down
13 changes: 13 additions & 0 deletions .merlin
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
B src
B src/vendor
B src/vendor/odoc_parser
B src/vendor/omd
B src/vendor/res_outcome_printer

S src
S src/vendor
S src/vendor/odoc_parser
S src/vendor/omd
S src/vendor/res_outcome_printer

FLG -w +26+27+32+33+39
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ lib/rescript-editor-support.exe: $(SOURCE_FILES)

build-native: lib/rescript-editor-support.exe depend

dce: build-native
node_modules/.bin/reanalyze -dce-cmt src -suppress src/vendor

clean:
git clean -dfx src

.DEFAULT_GOAL := build-native

.PHONY: depend clean build-native
.PHONY: depend clean build-native dce
7 changes: 3 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@ The binary reads the `.cmt` and `.cmti` files and analyses them.

```
opam switch 4.06.1
opam opam install . --deps-only
```

## Build

```
dune build
make
```

The built artifact is in `_build/install/default/bin/rescript-editor-support.exe`
The built artifact is in `lib/rescript-editor-support.exe`

## Usage

Run:

```sh
_build/install/default/bin/rescript-editor-support.exe --help
lib/rescript-editor-support.exe --help
```

## History
Expand Down
4 changes: 0 additions & 4 deletions dune

This file was deleted.

2 changes: 0 additions & 2 deletions dune-project

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "rescript-editor-support",
"version": "1.0.0",
"scripts": {
"test": "cd test && ./test.sh",
"dce": "dune build @check @all && node_modules/.bin/reanalyze -dce-cmt _build -suppress src/vendor"
"test": "cd test && ./test.sh"
},
"keywords": [
"rescript",
Expand Down
19 changes: 0 additions & 19 deletions rescript-editor-support.opam

This file was deleted.

7 changes: 0 additions & 7 deletions src/dune

This file was deleted.