This repository was archived by the owner on Apr 24, 2021. It is now read-only.
File tree 9 files changed +22
-25
lines changed
9 files changed +22
-25
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
.merlin
3
+ ! /.merlin
3
4
npm-debug.log
4
5
* .install
5
- _build
6
6
examples /* /lib
7
7
test /lib
8
8
node_modules
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -27,9 +27,12 @@ lib/rescript-editor-support.exe: $(SOURCE_FILES)
27
27
28
28
build-native : lib/rescript-editor-support.exe depend
29
29
30
+ dce : build-native
31
+ node_modules/.bin/reanalyze -dce-cmt src -suppress src/vendor
32
+
30
33
clean :
31
34
git clean -dfx src
32
35
33
36
.DEFAULT_GOAL := build-native
34
37
35
- .PHONY : depend clean build-native
38
+ .PHONY : depend clean build-native dce
Original file line number Diff line number Diff line change @@ -8,23 +8,22 @@ The binary reads the `.cmt` and `.cmti` files and analyses them.
8
8
9
9
```
10
10
opam switch 4.06.1
11
- opam opam install . --deps-only
12
11
```
13
12
14
13
## Build
15
14
16
15
```
17
- dune build
16
+ make
18
17
```
19
18
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`
21
20
22
21
## Usage
23
22
24
23
Run:
25
24
26
25
``` sh
27
- _build/install/default/bin /rescript-editor-support.exe --help
26
+ lib /rescript-editor-support.exe --help
28
27
```
29
28
30
29
## History
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"name" : " rescript-editor-support" ,
3
3
"version" : " 1.0.0" ,
4
4
"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"
7
6
},
8
7
"keywords" : [
9
8
" rescript" ,
Original file line number Diff line number Diff line change @@ -9,11 +9,7 @@ homepage: "https://github.com/rescript-lang/rescript-editor-support"
9
9
bug-reports:
10
10
"https://github.com/rescript-lang/rescript-editor-support/issues"
11
11
depends: [
12
- "dune" {>= "2.7"}
13
12
"ocaml" {= "4.06.1"}
14
13
]
15
- build: [
16
- ["dune" "build" "-p" name "@install"]
17
- ]
18
14
dev-repo: "git+https://github.com/rescript-lang/rescript-editor-support.git"
19
15
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments