forked from rescript-lang/rescript-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 626 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SHELL = /bin/bash
build:
dune build
cp -f _build/install/default/bin/rescript-editor-analysis analysis/rescript-editor-analysis.exe
cp -f _build/install/default/bin/rescript-editor-analysis rescript-editor-analysis.exe
cp -f _build/install/default/bin/rescript-tools rescript-tools.exe
test:
make -C analysis test
make -C tools/tests test
clean:
dune clean
make -C analysis clean
make -C tools/tests clean
format:
dune build @fmt --auto-promote
npx prettier --write --experimental-cli .
checkformat:
dune build @fmt
npx prettier --check --experimental-cli .
.DEFAULT_GOAL := build
.PHONY: build clean test