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

Commit 7535489

Browse files
committed
Remove stale files
1 parent 7ce09e3 commit 7535489

9 files changed

+22
-25
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.DS_Store
22
.merlin
3+
!/.merlin
34
npm-debug.log
45
*.install
5-
_build
66
examples/*/lib
77
test/lib
88
node_modules

.merlin

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
B src
2+
B src/vendor
3+
B src/vendor/odoc_parser
4+
B src/vendor/omd
5+
B src/vendor/res_outcome_printer
6+
7+
S src
8+
S src/vendor
9+
S src/vendor/odoc_parser
10+
S src/vendor/omd
11+
S src/vendor/res_outcome_printer
12+
13+
FLG -w +26+27+32+33+39

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ lib/rescript-editor-support.exe: $(SOURCE_FILES)
2727

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

30+
dce: build-native
31+
node_modules/.bin/reanalyze -dce-cmt src -suppress src/vendor
32+
3033
clean:
3134
git clean -dfx src
3235

3336
.DEFAULT_GOAL := build-native
3437

35-
.PHONY: depend clean build-native
38+
.PHONY: depend clean build-native dce

Readme.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@ The binary reads the `.cmt` and `.cmti` files and analyses them.
88

99
```
1010
opam switch 4.06.1
11-
opam opam install . --deps-only
1211
```
1312

1413
## Build
1514

1615
```
17-
dune build
16+
make
1817
```
1918

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

2221
## Usage
2322

2423
Run:
2524

2625
```sh
27-
_build/install/default/bin/rescript-editor-support.exe --help
26+
lib/rescript-editor-support.exe --help
2827
```
2928

3029
## History

dune

-4
This file was deleted.

dune-project

-2
This file was deleted.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"name": "rescript-editor-support",
33
"version": "1.0.0",
44
"scripts": {
5-
"test": "cd test && ./test.sh",
6-
"dce": "dune build @check @all && node_modules/.bin/reanalyze -dce-cmt _build -suppress src/vendor"
5+
"test": "cd test && ./test.sh"
76
},
87
"keywords": [
98
"rescript",

rescript-editor-support.opam

-4
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ homepage: "https://github.com/rescript-lang/rescript-editor-support"
99
bug-reports:
1010
"https://github.com/rescript-lang/rescript-editor-support/issues"
1111
depends: [
12-
"dune" {>= "2.7"}
1312
"ocaml" {= "4.06.1"}
1413
]
15-
build: [
16-
["dune" "build" "-p" name "@install"]
17-
]
1814
dev-repo: "git+https://github.com/rescript-lang/rescript-editor-support.git"
1915

src/dune

-7
This file was deleted.

0 commit comments

Comments
 (0)