From dc06a5b2870e274852deddca02c4f03942576031 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Fri, 27 Sep 2024 22:16:53 +0900 Subject: [PATCH] add clean-rewatch recipe --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 085f78d3c7..8fe4aa627d 100644 --- a/Makefile +++ b/Makefile @@ -82,15 +82,18 @@ checkformat: clean-gentype: make -C jscomp/gentype_tests/typescript-react-example clean +clean-rewatch: + cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch + clean: dune clean ./scripts/ninja.js clean && rm -f ninja/ninja -clean-all: clean clean-gentype +clean-all: clean clean-gentype clean-rewatch dev-container: docker build -t rescript-dev-container docker .DEFAULT_GOAL := build -.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 +.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