Skip to content

Commit dc06a5b

Browse files
committed
add clean-rewatch recipe
1 parent 1fe36e0 commit dc06a5b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,18 @@ checkformat:
8282
clean-gentype:
8383
make -C jscomp/gentype_tests/typescript-react-example clean
8484

85+
clean-rewatch:
86+
cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch
87+
8588
clean:
8689
dune clean
8790
./scripts/ninja.js clean && rm -f ninja/ninja
8891

89-
clean-all: clean clean-gentype
92+
clean-all: clean clean-gentype clean-rewatch
9093

9194
dev-container:
9295
docker build -t rescript-dev-container docker
9396

9497
.DEFAULT_GOAL := build
9598

96-
.PHONY: build watch rewatch ninja bench dce test test-syntax test-syntax-roundtrip test-gentype test-all lib playground playground-cmijs playground-release artifacts format checkformat clean-gentype clean clean-all dev-container
99+
.PHONY: build watch rewatch ninja bench dce test test-syntax test-syntax-roundtrip test-gentype test-all lib playground playground-cmijs playground-release artifacts format checkformat clean-gentype clean-rewatch clean clean-all dev-container

0 commit comments

Comments
 (0)