Skip to content

Commit 58e2dda

Browse files
committed
Stabilize ocaml build
1 parent b56ae79 commit 58e2dda

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

hphp/hack/Makefile.dune

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@ clean:
3232
define build_hack
3333
$(eval ext := $(if $(filter $(2),-debug),".bc",""))
3434
build-hack$(2):
35-
dune build \
36-
src/hh_server.$(1) \
37-
src/hh_client.$(1) \
38-
src/hh_single_type_check.$(1) \
39-
src/hackfmt.$(1) \
40-
src/hh_parse.$(1) \
41-
src/generate_full_fidelity.$(1)
35+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
36+
dune build src/hh_server.$(1)
37+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
38+
dune build src/hh_client.$(1)
39+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
40+
dune build src/hh_single_type_check.$(1)
41+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
42+
dune build src/hackfmt.$(1)
43+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
44+
dune build src/hh_parse.$(1)
45+
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
46+
dune build src/generate_full_fidelity.$(1)
4247

4348
copy-hack$(2)-files: build-hack$(2)
4449
mkdir -p "$(HACK_BIN_DIR)"

hphp/hack/src/Cargo.lock

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)